Function: erc-menu-mode

erc-menu-mode is an autoloaded, interactive and byte-compiled function defined in erc-menu.el.gz.

Signature

(erc-menu-mode &optional ARG)

Documentation

Toggle ERC menu mode.

If called interactively, enable erc-menu-mode(var)/erc-menu-mode(fun) if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil.

Enable a menu in ERC buffers.

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")))