projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304a3b9
)
Look for ElDoc buffer in all visible frames
author
Basil L. Contovounesios
<contovob@tcd.ie>
Tue, 18 May 2021 15:28:42 +0000
(16:28 +0100)
committer
Basil L. Contovounesios
<contovob@tcd.ie>
Tue, 18 May 2021 15:31:19 +0000
(16:31 +0100)
* 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).
lisp/emacs-lisp/eldoc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/eldoc.el
b/lisp/emacs-lisp/eldoc.el
index b4f068cf3aeb23e0b16a81c489a6df197db38e34..cec89cf3bc5af3b05a3bc765c73f9742f97befc1 100644
(file)
--- 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.