Mercurial > emacs
comparison etc/NEWS @ 41091:418fff19f92e
Minor clarification.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 15 Nov 2001 18:53:38 +0000 |
parents | ff0394a304bd |
children | eab977ad2163 |
comparison
equal
deleted
inserted
replaced
41090:304a46db62e4 | 41091:418fff19f92e |
---|---|
2411 may require changes to existing code. Here is a list for reference. | 2411 may require changes to existing code. Here is a list for reference. |
2412 See the sections below for details. | 2412 See the sections below for details. |
2413 | 2413 |
2414 ** Since `format' preserves text properties, the idiom | 2414 ** Since `format' preserves text properties, the idiom |
2415 `(format "%s" foo)' no longer works to copy and remove properties. | 2415 `(format "%s" foo)' no longer works to copy and remove properties. |
2416 Use `copy-sequence' and `set-text-properties'. | 2416 Use `copy-sequence' to copy the string, then use `set-text-properties' |
2417 to remove the properties of the copy. | |
2417 | 2418 |
2418 ** Since the `keymap' text property now has significance, some code | 2419 ** Since the `keymap' text property now has significance, some code |
2419 which uses both `local-map' and `keymap' properties (for portability) | 2420 which uses both `local-map' and `keymap' properties (for portability) |
2420 may, for instance, give rise to duplicate menus when the keymaps from | 2421 may, for instance, give rise to duplicate menus when the keymaps from |
2421 these properties are active. | 2422 these properties are active. |