diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2021-05-18 16:28:42 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2021-05-18 16:31:19 +0100 |
commit | 33c0994c7cbb6a5048db10b3b05d31e8d72f220a (patch) | |
tree | 77cb16ed18811c3c9bb69b8ef69ea95912fa3f7f /lisp/emacs-lisp | |
parent | 304a3b9ee8fdde52d7379fc5ac5be71a54fdfeb0 (diff) | |
download | emacs-33c0994c7cbb6a5048db10b3b05d31e8d72f220a.tar.gz emacs-33c0994c7cbb6a5048db10b3b05d31e8d72f220a.tar.bz2 emacs-33c0994c7cbb6a5048db10b3b05d31e8d72f220a.zip |
Look for ElDoc buffer in all visible frames
* lisp/emacs-lisp/eldoc.el (eldoc--echo-area-prefer-doc-buffer-p):
Look for a window displaying the ElDoc documentation buffer in all
visible frames, as promised by the user option
eldoc-echo-area-prefer-doc-buffer (bug#48278).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/eldoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index b4f068cf3ae..cec89cf3bc5 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el @@ -538,7 +538,7 @@ documentation to potentially appear in the echo are is truncated." (and truncatedp (eq eldoc-echo-area-prefer-doc-buffer 'maybe))) - (get-buffer-window eldoc--doc-buffer))) + (get-buffer-window eldoc--doc-buffer 'visible))) (defun eldoc-display-in-echo-area (docs _interactive) "Display DOCS in echo area. |