[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 33c0994: Look for ElDoc buffer in all visible frames
From: |
Basil L. Contovounesios |
Subject: |
master 33c0994: Look for ElDoc buffer in all visible frames |
Date: |
Tue, 18 May 2021 11:36:32 -0400 (EDT) |
branch: master
commit 33c0994c7cbb6a5048db10b3b05d31e8d72f220a
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
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).
---
lisp/emacs-lisp/eldoc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index b4f068c..cec89cf 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 33c0994: Look for ElDoc buffer in all visible frames,
Basil L. Contovounesios <=