Commit 0f6d89c4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(msb-mode): Call the update-buffers function explicitly

with a FORCE argument.
parent ab2c5f0a
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment