diff options
| author | Miles Bader | 2001-10-21 15:27:09 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-21 15:27:09 +0000 |
| commit | ab9ffd19d767fe35744261a4cd2611bdc48623af (patch) | |
| tree | 3ec4c80179faba4745906d3fcc49d186b57a4895 /src/print.c | |
| parent | 38623e24a8f4ba607d9b6a544cdc606d15cae08c (diff) | |
| download | emacs-ab9ffd19d767fe35744261a4cd2611bdc48623af.tar.gz emacs-ab9ffd19d767fe35744261a4cd2611bdc48623af.zip | |
(Fwith_output_to_temp_buffer): Add usage: string to doc string.
Diffstat (limited to 'src/print.c')
| -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) | |||
| 632 | return unbind_to (count, val); | 632 | return unbind_to (count, val); |
| 633 | } | 633 | } |
| 634 | 634 | ||
| 635 | DEFUN ("with-output-to-temp-buffer", Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, | 635 | DEFUN ("with-output-to-temp-buffer", |
| 636 | Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, | ||
| 636 | 1, UNEVALLED, 0, | 637 | 1, UNEVALLED, 0, |
| 637 | doc: /* Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer. | 638 | doc: /* Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer. |
| 638 | The buffer is cleared out initially, and marked as unmodified when done. | 639 | The buffer is cleared out initially, and marked as unmodified when done. |
| @@ -649,7 +650,9 @@ to display it temporarily selected. | |||
| 649 | 650 | ||
| 650 | If variable `temp-buffer-show-function' is non-nil, call it at the end | 651 | If variable `temp-buffer-show-function' is non-nil, call it at the end |
| 651 | to get the buffer displayed instead of just displaying the non-selected | 652 | to get the buffer displayed instead of just displaying the non-selected |
| 652 | buffer and calling the hook. It gets one argument, the buffer to display. */) | 653 | buffer and calling the hook. It gets one argument, the buffer to display. |
| 654 | |||
| 655 | usage: (with-output-to-temp-buffer BUFFNAME BODY ...) */) | ||
| 653 | (args) | 656 | (args) |
| 654 | Lisp_Object args; | 657 | Lisp_Object args; |
| 655 | { | 658 | { |