]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
authorGlenn Morris <rgm@gnu.org>
Mon, 11 Aug 2014 01:13:38 +0000 (18:13 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 11 Aug 2014 01:13:38 +0000 (18:13 -0700)
lisp/ChangeLog
lisp/subr.el

index ba8dac2c4e95cf8b002401d1ab80746052c74c61..a878b936e665c825eed2862d71df6fc013737cc3 100644 (file)
@@ -1,5 +1,7 @@
 2014-08-11  Glenn Morris  <rgm@gnu.org>
 
+       * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
+
        * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
        chose coding system for writing before backing up, since it causes
        a more serious problem than the one it solves.  (Closes Bug#18141,
index ac0e130b4e087d0e712d1cf3733f3156caf9e4fa..116032fd0bab1baa55569666a62edca11506cd38 100644 (file)
@@ -3099,6 +3099,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"))