summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorAugusto Stoffel <arstoffel@gmail.com>2021-10-05 11:12:05 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-05 11:12:05 +0200
commit90575a6c0c17e88671999867f0773fef5ea516a8 (patch)
treefb1d359ad371a86c5c21acf500c0b888673ba3ce /lisp/emacs-lisp/eldoc.el
parent570e2c9a17ca0b2964bb79e18b8cb5dda5fe9a98 (diff)
downloademacs-90575a6c0c17e88671999867f0773fef5ea516a8.tar.gz
Disable 'nobreak-char-display' in Eldoc buffers
* lisp/emacs-lisp/eldoc.el (eldoc--format-doc-buffer): Set 'nobreak-char-display' to nil in Eldoc buffers (bug#50989).
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-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 21f262adc6e..a1c3c3268f2 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -477,6 +477,7 @@ This holds the results of the last documentation request."
(let ((inhibit-read-only t)
(things-reported-on))
(erase-buffer) (setq buffer-read-only t)
+ (setq-local nobreak-char-display nil)
(local-set-key "q" 'quit-window)
(cl-loop for (docs . rest) on docs
for (this-doc . plist) = docs