From 220c2a148456b2e7f7a900f76530a3ef742e426e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 26 Jan 2011 23:48:23 -0800 Subject: [PATCH] msb.el fix for bug #7902. * lisp/msb.el (msb-menu-bar-update-buffers): Update for changed argument handling of menu-bar-select-frame. --- lisp/ChangeLog | 7 ++++++- lisp/msb.el | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 41db2b5ea79..aa5158fbda5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,9 +1,14 @@ +2011-01-27 Glenn Morris + + * msb.el (msb-menu-bar-update-buffers): Update for changed + argument handling of menu-bar-select-frame. (Bug#7902) + 2011-01-27 Chong Yidong * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit to the recursion depth (Bug#7722). -2011-01-26 Roy Liu (tiny change) +2011-01-26 Roy Liu (tiny change) * term/ns-win.el (ns-find-file): Expand ns-input-file with command-line-default-directory (Bug#7872). diff --git a/lisp/msb.el b/lisp/msb.el index 0e7a20fd33a..0517d8a5478 100644 --- a/lisp/msb.el +++ b/lisp/msb.el @@ -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) -- 2.39.5