(msb-menu-bar-update-buffers): Fixed frame menu to use
authorRichard M. Stallman <rms@gnu.org>
Wed, 8 May 2002 13:14:17 +0000 (13:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 8 May 2002 13:14:17 +0000 (13:14 +0000)
the frame name as the car of a menu entry, rather than the frame.

lisp/ChangeLog
lisp/msb.el

index 0fd79e4..3189447 100644 (file)
@@ -1,3 +1,12 @@
+2002-05-08  Richard M. Stallman  <rms@gnu.org>
+
+       * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
+
+2002-05-08  Simon Marshall  <simon@gnu.org>
+
+       * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
+       the frame name as the car of a menu entry, rather than the frame.
+
 2002-05-08  Juanma Barranquero  <lektu@terra.es>
 
        * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
index 907bbbf..2e19bb9 100644 (file)
@@ -1114,9 +1114,8 @@ variable `msb-menu-cond'."
                 (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)))))