diff options
| author | Eli Zaretskii | 2019-08-09 10:31:39 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-08-09 10:31:39 +0300 |
| commit | 82a2894be479ea88ebe28e72a7709b94203b096c (patch) | |
| tree | b6302c5c68d3ce95f6ac21ee3caf69471d76452d | |
| parent | cb0403d7467502a1a9ef2699ccce826aac2ace7a (diff) | |
| download | emacs-82a2894be479ea88ebe28e72a7709b94203b096c.tar.gz emacs-82a2894be479ea88ebe28e72a7709b94203b096c.zip | |
Improve doc strings of 'append-to-buffer' and friends
* lisp/simple.el (append-to-buffer, prepend-to-buffer)
(copy-to-buffer): Doc fixes.
| -rw-r--r-- | lisp/simple.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index b10c7861d13..b5c7052184b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -5268,8 +5268,10 @@ BUFFER may be a buffer or a buffer name." | |||
| 5268 | nil) | 5268 | nil) |
| 5269 | 5269 | ||
| 5270 | (defun append-to-buffer (buffer start end) | 5270 | (defun append-to-buffer (buffer start end) |
| 5271 | "Append to specified buffer the text of the region. | 5271 | "Append to specified BUFFER the text of the region. |
| 5272 | It is inserted into that buffer before its point. | 5272 | The text is inserted into that buffer before its point. |
| 5273 | BUFFER can be a buffer or the name of a buffer; this | ||
| 5274 | function will create BUFFER if it doesn't already exist. | ||
| 5273 | 5275 | ||
| 5274 | When calling from a program, give three arguments: | 5276 | When calling from a program, give three arguments: |
| 5275 | BUFFER (or buffer name), START and END. | 5277 | BUFFER (or buffer name), START and END. |
| @@ -5291,8 +5293,10 @@ START and END specify the portion of the current buffer to be copied." | |||
| 5291 | (set-window-point window (point)))))))) | 5293 | (set-window-point window (point)))))))) |
| 5292 | 5294 | ||
| 5293 | (defun prepend-to-buffer (buffer start end) | 5295 | (defun prepend-to-buffer (buffer start end) |
| 5294 | "Prepend to specified buffer the text of the region. | 5296 | "Prepend to specified BUFFER the text of the region. |
| 5295 | It is inserted into that buffer after its point. | 5297 | The text is inserted into that buffer after its point. |
| 5298 | BUFFER can be a buffer or the name of a buffer; this | ||
| 5299 | function will create BUFFER if it doesn't already exist. | ||
| 5296 | 5300 | ||
| 5297 | When calling from a program, give three arguments: | 5301 | When calling from a program, give three arguments: |
| 5298 | BUFFER (or buffer name), START and END. | 5302 | BUFFER (or buffer name), START and END. |
| @@ -5305,8 +5309,10 @@ START and END specify the portion of the current buffer to be copied." | |||
| 5305 | (insert-buffer-substring oldbuf start end))))) | 5309 | (insert-buffer-substring oldbuf start end))))) |
| 5306 | 5310 | ||
| 5307 | (defun copy-to-buffer (buffer start end) | 5311 | (defun copy-to-buffer (buffer start end) |
| 5308 | "Copy to specified buffer the text of the region. | 5312 | "Copy to specified BUFFER the text of the region. |
| 5309 | It is inserted into that buffer, replacing existing text there. | 5313 | The text is inserted into that buffer, replacing existing text there. |
| 5314 | BUFFER can be a buffer or the name of a buffer; this | ||
| 5315 | function will create BUFFER if it doesn't already exist. | ||
| 5310 | 5316 | ||
| 5311 | When calling from a program, give three arguments: | 5317 | When calling from a program, give three arguments: |
| 5312 | BUFFER (or buffer name), START and END. | 5318 | BUFFER (or buffer name), START and END. |