]> git.eshelyaron.com Git - emacs.git/commitdiff
msb.el fix for bug #7902.
authorGlenn Morris <rgm@gnu.org>
Thu, 27 Jan 2011 07:48:23 +0000 (23:48 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 27 Jan 2011 07:48:23 +0000 (23:48 -0800)
* lisp/msb.el (msb-menu-bar-update-buffers): Update for changed
argument handling of menu-bar-select-frame.

lisp/ChangeLog
lisp/msb.el

index 41db2b5ea79295a42ecd2147784985b3945d3c66..aa5158fbda5d1115d1ccbfb5217de95c803d450a 100644 (file)
@@ -1,9 +1,14 @@
+2011-01-27  Glenn Morris  <rgm@gnu.org>
+
+       * msb.el (msb-menu-bar-update-buffers): Update for changed
+       argument handling of menu-bar-select-frame.  (Bug#7902)
+
 2011-01-27  Chong Yidong  <cyd@stupidchicken.com>
 
        * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
        to the recursion depth (Bug#7722).
 
-2011-01-26  Roy Liu <carsomyr@gmail.com> (tiny change)
+2011-01-26  Roy Liu  <carsomyr@gmail.com>  (tiny change)
 
        * term/ns-win.el (ns-find-file): Expand ns-input-file with
        command-line-default-directory (Bug#7872).
index 0e7a20fd33added2a5f2431d5fd3d72cbe5ad914..0517d8a54781ebc66f62fa45a8fa17f413e89fdb 100644 (file)
@@ -1112,7 +1112,8 @@ variable `msb-menu-cond'."
                     (list (frame-parameter frame 'name)
                           (frame-parameter frame 'name)
                           (cons nil nil))
-                    'menu-bar-select-frame))
+                     `(lambda ()
+                        (interactive) (menu-bar-select-frame ,frame))))
                  frames)))))
       (setcdr global-buffers-menu-map
              (if (and buffers-menu frames-menu)