Commit ab9ffd19 authored by Miles Bader's avatar Miles Bader
Browse files

(Fwith_output_to_temp_buffer): Add usage: string to doc string.

parent 38623e24
...@@ -632,7 +632,8 @@ internal_with_output_to_temp_buffer (bufname, function, args) ...@@ -632,7 +632,8 @@ internal_with_output_to_temp_buffer (bufname, function, args)
return unbind_to (count, val); 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, 1, UNEVALLED, 0,
doc: /* Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer. 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. The buffer is cleared out initially, and marked as unmodified when done.
...@@ -649,7 +650,9 @@ to display it temporarily selected. ...@@ -649,7 +650,9 @@ to display it temporarily selected.
If variable `temp-buffer-show-function' is non-nil, call it at the end 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 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) (args)
Lisp_Object args; Lisp_Object args;
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment