changeset 10194:d59e8878ccca

(Buffer-menu-buffer): Clear text properties in STRING.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Dec 1994 23:05:23 +0000
parents 6efa61f222cb
children 68e113512fa4
files lisp/buff-menu.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/buff-menu.el	Tue Dec 20 20:42:57 1994 +0000
+++ b/lisp/buff-menu.el	Tue Dec 20 23:05:23 1994 +0000
@@ -139,6 +139,7 @@
   "Return buffer described by this line of buffer menu."
   (let* ((where (Buffer-menu-buffer-name-position))
 	 (string (buffer-substring (car where) (cdr where))))
+    (set-text-properties 0 (length string) nil string)
     (or (get-buffer string)
 	(if error-if-non-existent-p
 	    (error "No buffer named \"%s\"" string)