# HG changeset patch # User Richard M. Stallman # Date 1019176186 0 # Node ID 39c7ce6f26c1c894fb62d57cf93c95efff570e3f # Parent c44f2c24d43cda07f3958fd955b4acf14f16dc69 *** empty log message *** diff -r c44f2c24d43c -r 39c7ce6f26c1 etc/NEWS --- a/etc/NEWS Fri Apr 19 00:29:11 2002 +0000 +++ b/etc/NEWS Fri Apr 19 00:29:46 2002 +0000 @@ -260,6 +260,11 @@ command `isearch-yank-word-or-char'. To restore the old behavior, bind C-w to `isearch-yank-word' in `isearch-mode-map'. +** Yanking text now discards certain text properties that can +be inconvenient when you did not expect them. The variable +`yank-excluded-properties' specifies which ones. Insertion +of register contents and rectangles also discards these properties. + ** M-x grep now tries to avoid appending `/dev/null' to the command line by using GNU grep `-H' option instead. M-x grep will automatically detect whether this is possible or not the first time it is invoked. @@ -776,6 +781,12 @@ change group you start for any given buffer should be the last one finished. +** New function remove-list-of-text-properties. + +The new function `remove-list-of-text-properties' is almost the same +as `remove-text-properties'. The only difference is that it takes +a list of property names as argument rather than a property list. + ** Enhanced networking support. *** There is a new `make-network-process' function which supports diff -r c44f2c24d43c -r 39c7ce6f26c1 lisp/ChangeLog --- a/lisp/ChangeLog Fri Apr 19 00:29:11 2002 +0000 +++ b/lisp/ChangeLog Fri Apr 19 00:29:46 2002 +0000 @@ -1,3 +1,15 @@ +2002-04-18 Richard M. Stallman + + * toolbar/tool-bar.el (tool-bar-local-item-from-menu): + Fix parts in construction of `menu-item' item at end. + + * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar. + + * subr.el (insert-for-yank): New function. + + * simple.el (yank-excluded-properties): New user option. + (yank-pop, yank): Use insert-for-yank. + 2002-04-19 Kim F. Storm * simple.el (pop-to-mark-command): Do not set this-command.