changeset 55011:ebcf4edbc7f0

(menu-bar-update-buffers): Call copy-sequence so "Buffers" won't be pure.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Apr 2004 20:54:00 +0000
parents 734c2a20e3ec
children 13ef2f084366
files lisp/menu-bar.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Tue Apr 20 20:53:01 2004 +0000
+++ b/lisp/menu-bar.el	Tue Apr 20 20:54:00 2004 +0000
@@ -1557,7 +1557,8 @@
 
 	 (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)