Improve doc strings of 'append-to-buffer' and friends
* lisp/simple.el (append-to-buffer, prepend-to-buffer) (copy-to-buffer): Doc fixes.
This commit is contained in:
parent
cb0403d746
commit
82a2894be4
1 changed files with 12 additions and 6 deletions
|
@ -5268,8 +5268,10 @@ BUFFER may be a buffer or a buffer name."
|
||||||
nil)
|
nil)
|
||||||
|
|
||||||
(defun append-to-buffer (buffer start end)
|
(defun append-to-buffer (buffer start end)
|
||||||
"Append to specified buffer the text of the region.
|
"Append to specified BUFFER the text of the region.
|
||||||
It is inserted into that buffer before its point.
|
The text is inserted into that buffer before its point.
|
||||||
|
BUFFER can be a buffer or the name of a buffer; this
|
||||||
|
function will create BUFFER if it doesn't already exist.
|
||||||
|
|
||||||
When calling from a program, give three arguments:
|
When calling from a program, give three arguments:
|
||||||
BUFFER (or buffer name), START and END.
|
BUFFER (or buffer name), START and END.
|
||||||
|
@ -5291,8 +5293,10 @@ START and END specify the portion of the current buffer to be copied."
|
||||||
(set-window-point window (point))))))))
|
(set-window-point window (point))))))))
|
||||||
|
|
||||||
(defun prepend-to-buffer (buffer start end)
|
(defun prepend-to-buffer (buffer start end)
|
||||||
"Prepend to specified buffer the text of the region.
|
"Prepend to specified BUFFER the text of the region.
|
||||||
It is inserted into that buffer after its point.
|
The text is inserted into that buffer after its point.
|
||||||
|
BUFFER can be a buffer or the name of a buffer; this
|
||||||
|
function will create BUFFER if it doesn't already exist.
|
||||||
|
|
||||||
When calling from a program, give three arguments:
|
When calling from a program, give three arguments:
|
||||||
BUFFER (or buffer name), START and END.
|
BUFFER (or buffer name), START and END.
|
||||||
|
@ -5305,8 +5309,10 @@ START and END specify the portion of the current buffer to be copied."
|
||||||
(insert-buffer-substring oldbuf start end)))))
|
(insert-buffer-substring oldbuf start end)))))
|
||||||
|
|
||||||
(defun copy-to-buffer (buffer start end)
|
(defun copy-to-buffer (buffer start end)
|
||||||
"Copy to specified buffer the text of the region.
|
"Copy to specified BUFFER the text of the region.
|
||||||
It is inserted into that buffer, replacing existing text there.
|
The text is inserted into that buffer, replacing existing text there.
|
||||||
|
BUFFER can be a buffer or the name of a buffer; this
|
||||||
|
function will create BUFFER if it doesn't already exist.
|
||||||
|
|
||||||
When calling from a program, give three arguments:
|
When calling from a program, give three arguments:
|
||||||
BUFFER (or buffer name), START and END.
|
BUFFER (or buffer name), START and END.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue