Use special-mode in eldoc--doc-buffer
* lisp/emacs-lisp/eldoc.el (eldoc--format-doc-buffer): Use `special-mode' to allow normal customizations of the buffer (bug#56659).
This commit is contained in:
parent
a4339190ec
commit
97abe8511a
1 changed files with 2 additions and 2 deletions
|
|
@ -491,9 +491,9 @@ If INTERACTIVE, display it. Else, return said buffer."
|
|||
(setq-local eldoc--doc-buffer-docs docs)
|
||||
(let ((inhibit-read-only t)
|
||||
(things-reported-on))
|
||||
(erase-buffer) (setq buffer-read-only t)
|
||||
(special-mode)
|
||||
(erase-buffer)
|
||||
(setq-local nobreak-char-display nil)
|
||||
(local-set-key "q" 'quit-window)
|
||||
(cl-loop for (docs . rest) on docs
|
||||
for (this-doc . plist) = docs
|
||||
for thing = (plist-get plist :thing)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue