Function: msb-mode
msb-mode is an autoloaded, interactive and byte-compiled function
defined in msb.el.gz.
Signature
(msb-mode &optional ARG)
Documentation
Toggle Msb mode.
This is a minor mode. If called interactively, toggle the Msb mode
mode. If the prefix argument is positive, enable the mode, and if it
is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the
mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate (default-value \=msb-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
This mode overrides the binding(s) of mouse-buffer-menu to provide a
different buffer menu using the function msb.
Probably introduced at or before Emacs version 21.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/msb.el.gz
;;;###autoload
(define-minor-mode msb-mode
"Toggle Msb mode.
This mode overrides the binding(s) of `mouse-buffer-menu' to provide a
different buffer menu using the function `msb'."
:global t
(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)
(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)
(menu-bar-update-buffers t)))