mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(msb-mode): Call the update-buffers function explicitly
with a FORCE argument.
This commit is contained in:
parent
ab2c5f0a5d
commit
0f6d89c42e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user