[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/etc/NEWS

From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/etc/NEWS
Date: Thu, 15 Nov 2001 13:53:38 -0500

Index: emacs/etc/NEWS
diff -u emacs/etc/NEWS:1.514 emacs/etc/NEWS:1.515
--- emacs/etc/NEWS:1.514        Wed Nov 14 08:44:38 2001
+++ emacs/etc/NEWS      Thu Nov 15 13:53:38 2001
@@ -2413,7 +2413,8 @@
 ** Since `format' preserves text properties, the idiom
 `(format "%s" foo)' no longer works to copy and remove properties.
-Use `copy-sequence' and `set-text-properties'.
+Use `copy-sequence' to copy the string, then use `set-text-properties'
+to remove the properties of the copy.
 ** Since the `keymap' text property now has significance, some code
 which uses both `local-map' and `keymap' properties (for portability)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]