Variable: erc-imenu-mode

erc-imenu-mode is a customizable variable defined in erc-imenu.el.gz.

Value

nil

Documentation

Non-nil if Erc-Imenu mode is enabled.

See the erc-imenu-mode(var)/erc-imenu-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function erc-imenu-mode(var)/erc-imenu-mode(fun).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-imenu.el.gz
;;;###autoload(autoload 'erc-imenu-mode "erc-imenu" nil t)
(define-erc-module imenu nil
  "Simple Imenu integration for ERC."
  ((add-hook 'erc-mode-hook #'erc-imenu-setup)
   (unless erc--updating-modules-p (erc-buffer-do #'erc-imenu-setup)))
  ((remove-hook 'erc-mode-hook #'erc-imenu-setup)
   (erc-with-all-buffers-of-server nil nil
     (when erc-imenu--create-index-function
       (setq imenu-create-index-function erc-imenu--create-index-function)
       (kill-local-variable 'erc-imenu--create-index-function)))))