From: Dave Love Date: Thu, 10 Sep 1998 22:51:33 +0000 (+0000) Subject: (Fwith_output_to_temp_buffer): Doc fix. X-Git-Tag: emacs-20.4~1713 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=451f7df83b0978bedd26c2d17b7deffc26809251;p=emacs.git (Fwith_output_to_temp_buffer): Doc fix. --- diff --git a/src/print.c b/src/print.c index 499e2e46738..ec340e2c91d 100644 --- a/src/print.c +++ b/src/print.c @@ -755,10 +755,13 @@ DEFUN ("with-output-to-temp-buffer", Fwith_output_to_temp_buffer, Swith_output_t The buffer is cleared out initially, and marked as unmodified when done.\n\ All output done by BODY is inserted in that buffer by default.\n\ The buffer is displayed in another window, but not selected.\n\ +The hook `temp-buffer-show-hook' is run with that window selected\n\ +temporarily and its buffer current.\n\ The value of the last form in BODY is returned.\n\ If BODY does not finish normally, the buffer BUFNAME is not displayed.\n\n\ If variable `temp-buffer-show-function' is non-nil, call it at the end\n\ -to get the buffer displayed. It gets one argument, the buffer to display.") +to get the buffer displayed instead of just displaying the non-selected\n\ +buffer and calling the hook. It gets one argument, the buffer to display.") (args) Lisp_Object args; {