comparison lisp/subr.el @ 49313:e86ea32498df

(insert-for-yank): Doc fix.
author Kim F. Storm <storm@cua.dk>
date Sun, 19 Jan 2003 00:01:36 +0000
parents bbfe231902a8
children 63a122cc4286
comparison
equal deleted inserted replaced
49312:ebc6f47b202e 49313:e86ea32498df
1478 yank-excluded-properties is not performed; instead FUNCTION is 1478 yank-excluded-properties is not performed; instead FUNCTION is
1479 responsible for removing those properties. This may be necessary 1479 responsible for removing those properties. This may be necessary
1480 if FUNCTION adjusts point before or after inserting the object. 1480 if FUNCTION adjusts point before or after inserting the object.
1481 If UNDO is present and non-nil, it is a function that will be called 1481 If UNDO is present and non-nil, it is a function that will be called
1482 by `yank-pop' to undo the insertion of the current object. It is 1482 by `yank-pop' to undo the insertion of the current object. It is
1483 called with two arguments 1483 called with two arguments, the start and end of the current region.
1484 FUNCTION may set `yank-undo-function' to override this. 1484 FUNCTION may set `yank-undo-function' to override the UNDO value.
1485 If COMMAND is present and non-nil, `this-command' is set to COMMAND 1485 If COMMAND is present and non-nil, `this-command' is set to COMMAND
1486 after calling FUNCTION (or insert). Note that setting `this-command' 1486 after calling FUNCTION (or insert). Note that setting `this-command'
1487 to a value different from `yank' will prevent `yank-pop' from undoing 1487 to a value different from `yank' will prevent `yank-pop' from undoing
1488 this yank." 1488 this yank."
1489 (let* ((method (get-text-property 0 'yank-handler string)) 1489 (let* ((method (get-text-property 0 'yank-handler string))