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 e4269c0046a..89f4479740a 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2231,7 +2231,9 @@ advance_to_char_boundary (ptrdiff_t byte_pos) | |||
| 2231 | 2231 | ||
| 2232 | DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, | 2232 | DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, |
| 2233 | 1, 1, 0, | 2233 | 1, 1, 0, |
| 2234 | doc: /* Swap the text between current buffer and BUFFER. */) | 2234 | doc: /* Swap the text between current buffer and BUFFER. |
| 2235 | Using this function from `save-excursion' might produce surprising | ||
| 2236 | results, see Info node `(elisp)Swapping Text'. */) | ||
| 2235 | (Lisp_Object buffer) | 2237 | (Lisp_Object buffer) |
| 2236 | { | 2238 | { |
| 2237 | struct buffer *other_buffer; | 2239 | struct buffer *other_buffer; |