Function: electric-buffer-menu-mode

electric-buffer-menu-mode is an interactive and byte-compiled function defined in ebuff-menu.el.gz.

Signature

(electric-buffer-menu-mode)

Documentation

Toggle Electric Buffer Menu mode in this buffer.

With a prefix argument ARG, enable Long Lines mode if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil.

Electric Buffer Menu mode is a minor mode which is automatically enabled and disabled by the M-x electric-buffer-list (electric-buffer-list) command. See the documentation of electric-buffer-list for details.

In addition to any hooks its parent mode Buffer-menu-mode might have run, this mode runs the hook electric-buffer-menu-mode-hook, as the final or penultimate step during initialization.

Key Bindings

Aliases

Electric-buffer-menu-mode (obsolete since 24.3)

Source Code

;; Defined in /usr/src/emacs/lisp/ebuff-menu.el.gz
(define-derived-mode electric-buffer-menu-mode Buffer-menu-mode
  "Electric Buffer Menu"
  "Toggle Electric Buffer Menu mode in this buffer.
With a prefix argument ARG, enable Long Lines mode if ARG is
positive, and disable it otherwise.  If called from Lisp, enable
the mode if ARG is omitted or nil.

Electric Buffer Menu mode is a minor mode which is automatically
enabled and disabled by the \\[electric-buffer-list] command.
See the documentation of `electric-buffer-list' for details."
  (setq mode-line-buffer-identification "Electric Buffer List")
  (setq-local Helper-return-blurb "return to buffer editing"))