From f90f28a0392d1e847353d7026e119394a54b27fc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 20 Dec 1994 23:05:23 +0000 Subject: [PATCH] (Buffer-menu-buffer): Clear text properties in STRING. --- lisp/buff-menu.el | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5