changeset 45180:b9324402ed2f

(msb-menu-bar-update-buffers): Fixed frame menu to use the frame name as the car of a menu entry, rather than the frame.
author Richard M. Stallman <rms@gnu.org>
date Wed, 08 May 2002 13:13:57 +0000
parents 6ff2c20da16e
children 1fe8d9a97ff1
files lisp/msb.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/msb.el	Wed May 08 13:13:41 2002 +0000
+++ b/lisp/msb.el	Wed May 08 13:13:57 2002 +0000
@@ -1114,9 +1114,8 @@
 		 (mapcar
 		  (lambda (frame)
 		    (nconc
-		     (list frame
-			   (cdr (assq 'name
-				      (frame-parameters frame)))
+		     (list (frame-parameter frame 'name)
+			   (frame-parameter frame 'name)
 			   (cons nil nil))
 		     'menu-bar-select-frame))
 		  frames)))))