Mercurial > emacs
changeset 49364:25243a7167f4
Doc fixes.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 21 Jan 2003 21:11:12 +0000 |
parents | 7bf92531d421 |
children | 0ad286c3d402 |
files | lisp/simple.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Tue Jan 21 21:10:40 2003 +0000 +++ b/lisp/simple.el Tue Jan 21 21:11:12 2003 +0000 @@ -1856,7 +1856,7 @@ 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 @@ (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.