mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(msb-mode): Call the update-buffers function explicitly
with a FORCE argument.
This commit is contained in:
parent
ab2c5f0a5d
commit
0f6d89c42e
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue