projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
592b1cf
)
Fix describe-variable on values with circular syntax (Bug#39805)
author
Noam Postavsky
<npostavs@gmail.com>
Fri, 28 Feb 2020 02:09:59 +0000
(21:09 -0500)
committer
Noam Postavsky
<npostavs@gmail.com>
Wed, 4 Mar 2020 03:04:48 +0000
(22:04 -0500)
* lisp/help-fns.el (describe-variable): Set syntax tables before
calling pp-buffer.
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 0e2ae6b3c3c1d75bbfd846535f632fac55c2c6de..1be8e0ab0823609d6c1b4d0aaee03c49c753a29a 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-1000,6
+1000,8
@@
it is displayed along with the global value."
(terpri)
(let ((buf (current-buffer)))
(with-temp-buffer
+ (lisp-mode-variables nil)
+ (set-syntax-table emacs-lisp-mode-syntax-table)
(insert print-rep)
(pp-buffer)
(let ((pp-buffer (current-buffer)))