summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-11-02 16:20:15 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-02 16:20:19 +0100
commitcd73ec72a6c864a8979fa1041df8618fe67cf480 (patch)
tree87e4dc90a0061bb509969683c47640cc7f977bb1 /lisp/emacs-lisp
parent4f851c2357cb8a09024432f2c6e061907311ce43 (diff)
downloademacs-cd73ec72a6c864a8979fa1041df8618fe67cf480.tar.gz
emacs-cd73ec72a6c864a8979fa1041df8618fe67cf480.tar.bz2
emacs-cd73ec72a6c864a8979fa1041df8618fe67cf480.zip
Make lambdas/closures/byte code in `C-h b' clickable
* lisp/help.el (help--describe-command): Add links for lambdas/closures/byte code (bug#24235). * lisp/emacs-lisp/pp.el (pp-display-expression): Autoload.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/pp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index 0bf774dffd8..4ff2cd59eba 100644
--- a/lisp/emacs-lisp/pp.el
+++ b/lisp/emacs-lisp/pp.el
@@ -85,6 +85,7 @@ can handle, whenever this is possible.
Output stream is STREAM, or value of `standard-output' (which see)."
(princ (pp-to-string object) (or stream standard-output)))
+;;;###autoload
(defun pp-display-expression (expression out-buffer-name)
"Prettify and display EXPRESSION in an appropriate way, depending on length.
If a temporary buffer is needed for representation, it will be named