[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 97abe8511a: Use special-mode in eldoc--doc-buffer
From: |
Lars Ingebrigtsen |
Subject: |
master 97abe8511a: Use special-mode in eldoc--doc-buffer |
Date: |
Sat, 23 Jul 2022 03:14:10 -0400 (EDT) |
branch: master
commit 97abe8511a829861f6efb865209ac2dd0e7ae129
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
lisp/emacs-lisp/eldoc.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index e5f055d032..8d7f182e0c 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 97abe8511a: Use special-mode in eldoc--doc-buffer,
Lars Ingebrigtsen <=