projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a5d48
)
Font-lock variable values in *Help*
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 26 Jun 2022 19:41:42 +0000
(21:41 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 26 Jun 2022 19:43:05 +0000
(21:43 +0200)
* lisp/help-fns.el (describe-variable): Font-lock the variable
value (bug#47363).
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 43855cd6d721b00daebd48b4005306b77b5e2219..364fce4ea64ac183f8cfcf748fd5348e498e626c 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-1239,10
+1239,11
@@
it is displayed along with the global value."
(terpri)
(let ((buf (current-buffer)))
(with-temp-buffer
- (lisp-
mode-variables nil
)
+ (lisp-
data-mode
)
(set-syntax-table emacs-lisp-mode-syntax-table)
(insert print-rep)
(pp-buffer)
+ (font-lock-ensure)
(let ((pp-buffer (current-buffer)))
(with-current-buffer buf
(insert-buffer-substring pp-buffer)))))