diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8756cbbbd7d..24c997fcdbd 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2224,7 +2224,9 @@ advance_to_char_boundary (ptrdiff_t byte_pos) | |||
| 2224 | 2224 | ||
| 2225 | DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, | 2225 | DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, |
| 2226 | 1, 1, 0, | 2226 | 1, 1, 0, |
| 2227 | doc: /* Swap the text between current buffer and BUFFER. */) | 2227 | doc: /* Swap the text between current buffer and BUFFER. |
| 2228 | Using this function from `save-excursion' might produce surprising | ||
| 2229 | results, see Info node `(elisp)Swapping Text'. */) | ||
| 2228 | (Lisp_Object buffer) | 2230 | (Lisp_Object buffer) |
| 2229 | { | 2231 | { |
| 2230 | struct buffer *other_buffer; | 2232 | struct buffer *other_buffer; |