Function: eldoc-display-message-no-interference-p

eldoc-display-message-no-interference-p is a byte-compiled function defined in eldoc.el.gz.

Signature

(eldoc-display-message-no-interference-p)

Documentation

Return nil if displaying a message would cause interference.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eldoc.el.gz
;; Check various conditions about the current environment that might make
;; it undesirable to print eldoc messages right this instant.
(defun eldoc-display-message-no-interference-p ()
  "Return nil if displaying a message would cause interference."
  (not (or executing-kbd-macro
           (bound-and-true-p edebug-active)
           ;; The following configuration shows "Matches..." in the
           ;; echo area when point is after a closing bracket, which
           ;; conflicts with eldoc.
           (and (boundp 'show-paren-context-when-offscreen)
                show-paren-context-when-offscreen
                ;; There's no conflict with the child-frame and
                ;; overlay versions.
                (not (memq show-paren-context-when-offscreen
                           '(child-frame overlay)))
                (not (pos-visible-in-window-p
                      (overlay-end show-paren--overlay)))))))