summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2003-01-21 21:11:12 +0000
committerKim F. Storm <storm@cua.dk>2003-01-21 21:11:12 +0000
commit44f5a7b27722a958dcbf6cae5fabe5fb38892c99 (patch)
treed3906c44355ff9831a9e38d99eecb2d997f8e1b4 /lisp
parent374d3fe7e41c0ab8db08a0a8f11ed59c0cfffbab (diff)
downloademacs-44f5a7b27722a958dcbf6cae5fabe5fb38892c99.tar.gz
emacs-44f5a7b27722a958dcbf6cae5fabe5fb38892c99.tar.bz2
emacs-44f5a7b27722a958dcbf6cae5fabe5fb38892c99.zip
Doc fixes.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el7
1 files changed, 5 insertions, 2 deletions
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.