Mercurial > emacs
changeset 53925:7f3d443f2542
(kill-append): Doc fix.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Thu, 12 Feb 2004 04:22:19 +0000 |
parents | ed40e77a5176 |
children | 349ac348bad6 |
files | lisp/simple.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Thu Feb 12 01:55:59 2004 +0000 +++ b/lisp/simple.el Thu Feb 12 04:22:19 2004 +0000 @@ -1834,7 +1834,7 @@ 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 @@ 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))