diff options
| author | Noam Postavsky | 2017-06-30 23:25:42 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-06-30 23:30:07 -0400 |
| commit | 23ff664fd24dbdd8cc5b9d1fb68423fe6592b0a0 (patch) | |
| tree | 806decfbea06fd7b7e8faab56f9c7af7e2aae56d | |
| parent | 6fb45b7b368c8041936c52f2b2c261136c070721 (diff) | |
| download | emacs-23ff664fd24dbdd8cc5b9d1fb68423fe6592b0a0.tar.gz emacs-23ff664fd24dbdd8cc5b9d1fb68423fe6592b0a0.zip | |
* lisp/help-fns.el (describe-variable): Let-bind cl-print-compiled-button.
| -rw-r--r-- | lisp/help-fns.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 32324ae3bcb..d7c31f9e2b8 100644 --- 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." | |||
| 776 | version package)))))) | 776 | version package)))))) |
| 777 | output)) | 777 | output)) |
| 778 | 778 | ||
| 779 | (defvar cl-print-compiled-button) | ||
| 780 | |||
| 779 | ;;;###autoload | 781 | ;;;###autoload |
| 780 | (defun describe-variable (variable &optional buffer frame) | 782 | (defun describe-variable (variable &optional buffer frame) |
| 781 | "Display the full documentation of VARIABLE (a symbol). | 783 | "Display the full documentation of VARIABLE (a symbol). |
| @@ -856,7 +858,8 @@ it is displayed along with the global value." | |||
| 856 | (print-rep | 858 | (print-rep |
| 857 | (let ((rep | 859 | (let ((rep |
| 858 | (let ((print-quoted t) | 860 | (let ((print-quoted t) |
| 859 | (print-circle t)) | 861 | (print-circle t) |
| 862 | (cl-print-compiled-button t)) | ||
| 860 | (cl-prin1-to-string val)))) | 863 | (cl-prin1-to-string val)))) |
| 861 | (if (and (symbolp val) (not (booleanp val))) | 864 | (if (and (symbolp val) (not (booleanp val))) |
| 862 | (format-message "`%s'" rep) | 865 | (format-message "`%s'" rep) |