changeset 49493:67c5cfa83ddd

Remove COMMAND element from yank handler.
author Kim F. Storm <storm@cua.dk>
date Mon, 27 Jan 2003 21:46:04 +0000
parents a144c40bb984
children 07f0ea120d7d
files etc/NEWS
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Mon Jan 27 21:45:10 2003 +0000
+++ b/etc/NEWS	Mon Jan 27 21:46:04 2003 +0000
@@ -1511,7 +1511,7 @@
 
 The value of the yank-handler property must be a list with one to five
 elements with the following format:
-  (FUNCTION PARAM NOEXCLUDE UNDO COMMAND).
+  (FUNCTION PARAM NOEXCLUDE UNDO).
 
 The `insert-for-yank' function looks for a yank-handler property on
 the first character on its string argument (typically the first
@@ -1532,10 +1532,6 @@
 by `yank-pop' to undo the insertion of the current object.  It is
 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
-this yank.
 
 *** The functions kill-new, kill-append, and kill-region now has an
 optional third argument to specify the yank-handler text property