From d08fd12f3afa17c87d998130b072e7e2f2c7b262 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 20 Apr 2004 20:54:00 +0000 Subject: [PATCH] (menu-bar-update-buffers): Call copy-sequence so "Buffers" won't be pure. --- lisp/menu-bar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 7db5f96e6d7..e45d6926d70 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -1557,7 +1557,8 @@ Buffers menu is regenerated." (setq buffers-menu (cons 'keymap (cons "Select Buffer" buffers-menu))) (define-key (current-global-map) [menu-bar buffer] - (cons "Buffers" buffers-menu))))) + ;; Call copy-sequence so the string is not pure. + (cons (copy-sequence "Buffers") buffers-menu))))) (add-hook 'menu-bar-update-hook 'menu-bar-update-buffers) -- 2.39.5