diff options
| author | Miles Bader <miles@gnu.org> | 2001-10-21 15:27:09 +0000 |
|---|---|---|
| committer | Miles Bader <miles@gnu.org> | 2001-10-21 15:27:09 +0000 |
| commit | ab9ffd19d767fe35744261a4cd2611bdc48623af (patch) | |
| tree | 3ec4c80179faba4745906d3fcc49d186b57a4895 /src | |
| parent | 38623e24a8f4ba607d9b6a544cdc606d15cae08c (diff) | |
| download | emacs-ab9ffd19d767fe35744261a4cd2611bdc48623af.tar.gz | |
(Fwith_output_to_temp_buffer): Add usage: string to doc string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c index 69249594803..15da00a9e5a 100644 --- a/src/print.c +++ b/src/print.c @@ -632,7 +632,8 @@ internal_with_output_to_temp_buffer (bufname, function, args) 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 @@ to display it temporarily selected. 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; { |
