summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-03-01 17:35:51 +0200
committerEli Zaretskii <eliz@gnu.org>2023-03-01 17:35:51 +0200
commit99df815c153265706edc839b7467fb3ae3b6e1b1 (patch)
tree03a07264bcf067165b3eeb8d5a06c1d83046c726 /lisp/emacs-lisp
parent0a4b1c0102d4062d24e19340f863b9df25e07ab3 (diff)
downloademacs-99df815c153265706edc839b7467fb3ae3b6e1b1.tar.gz
emacs-99df815c153265706edc839b7467fb3ae3b6e1b1.tar.bz2
emacs-99df815c153265706edc839b7467fb3ae3b6e1b1.zip
Revert "Don't disable eldoc when doing edebug"
This reverts commit 6fd1fb8a6837acde8e1c9ab26618ec0f36121c72. It turns out ElDoc does show messages inside Edebug, if you are (un)lucky enough to have point where ElDoc has something to show. Bug#56459 needs to be fixed in some more complex way.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/eldoc.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 83948ad00d4..a175edcc671 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -388,6 +388,7 @@ Also store it in `eldoc-last-message' and return that value."
(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.