X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/190644a0115a592f237b5f7c91f0f96e82edb864..93b31b57283d369fefc5c95082d7b09288f05128:/lisp/subr.el diff --git a/lisp/subr.el b/lisp/subr.el index 9accb9d36c..c168cf5fdb 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3102,6 +3102,11 @@ buffer temporarily current, and the window that was used to display it temporarily selected. But it doesn't run `temp-buffer-show-hook' if it uses `temp-buffer-show-function'. +By default, the setup hook puts the buffer into Help mode before running BODY. +If BODY does not change the major mode, the show hook makes the buffer +read-only, and scans it for function and variable names to make them into +clickable cross-references. + See the related form `with-temp-buffer-window'." (declare (debug t)) (let ((old-dir (make-symbol "old-dir"))