From: Richard M. Stallman Date: Tue, 20 Apr 2004 20:54:00 +0000 (+0000) Subject: (menu-bar-update-buffers): Call copy-sequence so "Buffers" won't be pure. X-Git-Tag: ttn-vms-21-2-B4~6713 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d08fd12f3afa17c87d998130b072e7e2f2c7b262;p=emacs.git (menu-bar-update-buffers): Call copy-sequence so "Buffers" won't be pure. --- 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)