]> git.eshelyaron.com Git - emacs.git/commitdiff
(Buffer-menu-buffer): Clear text properties in STRING.
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 Dec 1994 23:05:23 +0000 (23:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 Dec 1994 23:05:23 +0000 (23:05 +0000)
lisp/buff-menu.el

index f766c0da8fb53d0ed0cd00e50ca90371cd696305..1bd0699e9776f4a77da876970845dc558f03bc96 100644 (file)
@@ -139,6 +139,7 @@ Letters do not insert themselves; instead, they are commands.
   "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)