Function: erc-menu-enable
erc-menu-enable is an interactive and byte-compiled function defined
in erc-menu.el.gz.
Signature
(erc-menu-enable)
Documentation
Enable ERC menu mode.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-menu.el.gz
;;;###autoload(autoload 'erc-menu-mode "erc-menu" nil t)
(define-erc-module menu nil
"Enable a menu in ERC buffers."
((unless erc-menu-defined
;; make sure the menu only gets defined once, since Emacs
;; activates it immediately
(easy-menu-define erc-menu erc-mode-map "ERC menu" erc-menu-definition)
(setq erc-menu-defined t)))
(;; `easy-menu-remove' is a no-op in Emacs
(message "You might have to restart Emacs to remove the ERC menu")))