diff options
-rw-r--r-- | lisp/msb.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/msb.el b/lisp/msb.el index b21abf99f90..fe9906cf933 100644 --- a/lisp/msb.el +++ b/lisp/msb.el @@ -1146,10 +1146,11 @@ different buffer menu using the function `msb'." (if msb-mode (progn (add-hook 'menu-bar-update-hook 'msb-menu-bar-update-buffers) - (remove-hook 'menu-bar-update-hook 'menu-bar-update-buffers)) + (remove-hook 'menu-bar-update-hook 'menu-bar-update-buffers) + (msb-menu-bar-update-buffers t)) (remove-hook 'menu-bar-update-hook 'msb-menu-bar-update-buffers) - (add-hook 'menu-bar-update-hook 'menu-bar-update-buffers)) - (run-hooks 'menu-bar-update-hook)) + (add-hook 'menu-bar-update-hook 'menu-bar-update-buffers) + (menu-bar-update-buffers t))) (defun msb-unload-hook () (msb-mode 0)) |