mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
(kill-append): Doc fix.
This commit is contained in:
parent
dd4a1d28d5
commit
fb2dcf046c
2 changed files with 5 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2004-02-11 Luc Teirlinck <teirllm@auburn.edu>
|
||||
|
||||
* simple.el (kill-append): Doc fix.
|
||||
|
||||
* emacs-lisp/lisp-mode.el (lisp-mode-variables): Adapt
|
||||
outline-regexp to the new conventions for commenting out code.
|
||||
|
||||
|
|
|
|||
|
|
@ -1834,7 +1834,7 @@ the front of the kill ring, rather than being added to the list.
|
|||
Optional third arguments YANK-HANDLER controls how the STRING is later
|
||||
inserted into a buffer; see `insert-for-yank' for details.
|
||||
When a yank handler is specified, STRING must be non-empty (the yank
|
||||
handler is stored as a `yank-handler'text property on STRING).
|
||||
handler is stored as a `yank-handler' text property on STRING).
|
||||
|
||||
When the yank handler has a non-nil PARAM element, the original STRING
|
||||
argument is not used by `insert-for-yank'. However, since Lisp code
|
||||
|
|
@ -1863,8 +1863,8 @@ If BEFORE-P is non-nil, prepend STRING to the kill.
|
|||
Optional third argument YANK-HANDLER specifies the yank-handler text
|
||||
property to be set on the combined kill ring string. If the specified
|
||||
yank-handler arg differs from the yank-handler property of the latest
|
||||
kill string, STRING is added as a new kill ring element instead of
|
||||
being appending to the last kill.
|
||||
kill string, this function adds the combined string to the kill
|
||||
ring as a new element, instead of replacing the last kill with it.
|
||||
If `interprogram-cut-function' is set, pass the resulting kill to it."
|
||||
(let* ((cur (car kill-ring)))
|
||||
(kill-new (if before-p (concat string cur) (concat cur string))
|
||||
|
|
|
|||
Loading…
Reference in a new issue