aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2001-10-21 15:27:09 +0000
committerMiles Bader2001-10-21 15:27:09 +0000
commitab9ffd19d767fe35744261a4cd2611bdc48623af (patch)
tree3ec4c80179faba4745906d3fcc49d186b57a4895
parent38623e24a8f4ba607d9b6a544cdc606d15cae08c (diff)
downloademacs-ab9ffd19d767fe35744261a4cd2611bdc48623af.tar.gz
emacs-ab9ffd19d767fe35744261a4cd2611bdc48623af.zip
(Fwith_output_to_temp_buffer): Add usage: string to doc string.
-rw-r--r--src/print.c7
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
635DEFUN ("with-output-to-temp-buffer", Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, 635DEFUN ("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.
638The buffer is cleared out initially, and marked as unmodified when done. 639The buffer is cleared out initially, and marked as unmodified when done.
@@ -649,7 +650,9 @@ to display it temporarily selected.
649 650
650If variable `temp-buffer-show-function' is non-nil, call it at the end 651If variable `temp-buffer-show-function' is non-nil, call it at the end
651to get the buffer displayed instead of just displaying the non-selected 652to get the buffer displayed instead of just displaying the non-selected
652buffer and calling the hook. It gets one argument, the buffer to display. */) 653buffer and calling the hook. It gets one argument, the buffer to display.
654
655usage: (with-output-to-temp-buffer BUFFNAME BODY ...) */)
653 (args) 656 (args)
654 Lisp_Object args; 657 Lisp_Object args;
655{ 658{