From: Kim F. Storm Date: Tue, 21 Jan 2003 21:11:12 +0000 (+0000) Subject: Doc fixes. X-Git-Tag: ttn-vms-21-2-B4~11548 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44f5a7b27722a958dcbf6cae5fabe5fb38892c99;p=emacs.git Doc fixes. --- diff --git a/lisp/simple.el b/lisp/simple.el index c0028a08233..b4d1d609bc7 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1856,7 +1856,7 @@ If the previous command was also a kill command, the text killed this time appends to the text killed last time to make one entry in the kill ring. -In lisp code, optional third arg YANK-HANDLER specifies the yank-handler +In Lisp code, optional third arg YANK-HANDLER specifies the yank-handler text property to be set on the killed text. See `insert-for-yank'." (interactive "r") (condition-case nil @@ -1965,7 +1965,10 @@ The argument is used for internal purposes; do not supply one." (defvar yank-window-start nil) (defvar yank-undo-function nil - "If non-nil, function used by `yank-pop' to delete last stretch of yanked text.") + "If non-nil, function used by `yank-pop' to delete last stretch of yanked text. +Function is called with two parameters, START and END corresponding to +the value of the mark and point; it is guaranteed that START <= END. +Normally set from the UNDO element of a yank-handler; see `insert-for-yank'.") (defun yank-pop (arg) "Replace just-yanked stretch of killed text with a different stretch.