summaryrefslogtreecommitdiff
path: root/lisp/buff-menu.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-12-20 23:05:23 +0000
committerRichard M. Stallman <rms@gnu.org>1994-12-20 23:05:23 +0000
commitf90f28a0392d1e847353d7026e119394a54b27fc (patch)
tree603b981ba1824abd02aeed593b148d70b1dd7b1b /lisp/buff-menu.el
parentf16c38ae778618b7ce14b46caab069df938e4e2a (diff)
downloademacs-f90f28a0392d1e847353d7026e119394a54b27fc.tar.gz
(Buffer-menu-buffer): Clear text properties in STRING.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r--lisp/buff-menu.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index f766c0da8fb..1bd0699e977 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -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)