# HG changeset patch # User Kim F. Storm # Date 1042934496 0 # Node ID e86ea32498df3c44e4b052fd3a62f34edd05ea15 # Parent ebc6f47b202e8405410eb7e04511b39a546f6428 (insert-for-yank): Doc fix. diff -r ebc6f47b202e -r e86ea32498df lisp/subr.el --- a/lisp/subr.el Sat Jan 18 23:59:12 2003 +0000 +++ b/lisp/subr.el Sun Jan 19 00:01:36 2003 +0000 @@ -1480,8 +1480,8 @@ if FUNCTION adjusts point before or after inserting the object. If UNDO is present and non-nil, it is a function that will be called by `yank-pop' to undo the insertion of the current object. It is - called with two arguments - FUNCTION may set `yank-undo-function' to override this. + called with two arguments, the start and end of the current region. + FUNCTION may set `yank-undo-function' to override the UNDO value. If COMMAND is present and non-nil, `this-command' is set to COMMAND after calling FUNCTION (or insert). Note that setting `this-command' to a value different from `yank' will prevent `yank-pop' from undoing