Mercurial > emacs
changeset 40143:3c480f0b4146
(Fwith_output_to_temp_buffer): Add usage: string to doc string.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 21 Oct 2001 15:27:09 +0000 |
parents | a8f1728d40c2 |
children | b4ffca20829f |
files | src/print.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/print.c Sun Oct 21 15:23:58 2001 +0000 +++ b/src/print.c Sun Oct 21 15:27:09 2001 +0000 @@ -632,7 +632,8 @@ return unbind_to (count, val); } -DEFUN ("with-output-to-temp-buffer", Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, +DEFUN ("with-output-to-temp-buffer", + Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, 1, UNEVALLED, 0, doc: /* Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer. The buffer is cleared out initially, and marked as unmodified when done. @@ -649,7 +650,9 @@ If variable `temp-buffer-show-function' is non-nil, call it at the end to get the buffer displayed instead of just displaying the non-selected -buffer and calling the hook. It gets one argument, the buffer to display. */) +buffer and calling the hook. It gets one argument, the buffer to display. + +usage: (with-output-to-temp-buffer BUFFNAME BODY ...) */) (args) Lisp_Object args; {