diff options
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) | |||
| 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 | { |