diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index 028ef76ff71..daafbcef0e4 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2187,11 +2187,12 @@ set_buffer_temp (struct buffer *b) | |||
| 2187 | 2187 | ||
| 2188 | DEFUN ("set-buffer", Fset_buffer, Sset_buffer, 1, 1, 0, | 2188 | DEFUN ("set-buffer", Fset_buffer, Sset_buffer, 1, 1, 0, |
| 2189 | doc: /* Make buffer BUFFER-OR-NAME current for editing operations. | 2189 | doc: /* Make buffer BUFFER-OR-NAME current for editing operations. |
| 2190 | BUFFER-OR-NAME may be a buffer or the name of an existing buffer. See | 2190 | BUFFER-OR-NAME may be a buffer or the name of an existing buffer. |
| 2191 | also `with-current-buffer' when you want to make a buffer current | 2191 | See also `with-current-buffer' when you want to make a buffer current |
| 2192 | temporarily. This function does not display the buffer, so its effect | 2192 | temporarily. This function does not display the buffer, so its effect |
| 2193 | ends when the current command terminates. Use `switch-to-buffer' or | 2193 | ends when the current command terminates. Use `switch-to-buffer' or |
| 2194 | `pop-to-buffer' to switch buffers permanently. */) | 2194 | `pop-to-buffer' to switch buffers permanently. |
| 2195 | The return value is the buffer made current. */) | ||
| 2195 | (register Lisp_Object buffer_or_name) | 2196 | (register Lisp_Object buffer_or_name) |
| 2196 | { | 2197 | { |
| 2197 | register Lisp_Object buffer; | 2198 | register Lisp_Object buffer; |