# HG changeset patch # User Luc Teirlinck # Date 1076559739 0 # Node ID 7f3d443f2542ef0161858ffdc63b56297f6f8d3e # Parent ed40e77a517633a1fd7e2eb1dc4c5ba2696cdf76 (kill-append): Doc fix. diff -r ed40e77a5176 -r 7f3d443f2542 lisp/simple.el --- 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))