projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb45b7
)
* lisp/help-fns.el (describe-variable): Let-bind cl-print-compiled-button.
author
Noam Postavsky
<npostavs@gmail.com>
Sat, 1 Jul 2017 03:25:42 +0000
(23:25 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sat, 1 Jul 2017 03:30:07 +0000
(23:30 -0400)
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 32324ae3bcb6d7d5c38f90722b47e61010f143ff..d7c31f9e2b86cd30754c46b3b8e7fb06b24a83cb 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-776,6
+776,8
@@
If ANY-SYMBOL is non-nil, don't insist the symbol be bound."
version package))))))
output))
+(defvar cl-print-compiled-button)
+
;;;###autoload
(defun describe-variable (variable &optional buffer frame)
"Display the full documentation of VARIABLE (a symbol).
@@
-856,7
+858,8
@@
it is displayed along with the global value."
(print-rep
(let ((rep
(let ((print-quoted t)
- (print-circle t))
+ (print-circle t)
+ (cl-print-compiled-button t))
(cl-prin1-to-string val))))
(if (and (symbolp val) (not (booleanp val)))
(format-message "`%s'" rep)