Variable: erc-button-mode

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

Value

nil

Documentation

Non-nil if Erc-Button mode is enabled.

See the erc-button-mode(var)/erc-button-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-button-mode(var)/erc-button-mode(fun).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-button.el.gz
;;;###autoload(autoload 'erc-button-mode "erc-button" nil t)
(define-erc-module button nil
  "This mode buttonizes all messages according to `erc-button-alist'."
  ((add-hook 'erc-insert-modify-hook #'erc-button-add-buttons 'append)
   (add-hook 'erc-send-modify-hook #'erc-button-add-buttons 'append)
   (add-hook 'erc-complete-functions #'erc-button-next-function)
   (add-hook 'erc-mode-hook #'erc-button-setup))
  ((remove-hook 'erc-insert-modify-hook #'erc-button-add-buttons)
   (remove-hook 'erc-send-modify-hook #'erc-button-add-buttons)
   (remove-hook 'erc-complete-functions #'erc-button-next-function)
   (remove-hook 'erc-mode-hook #'erc-button-setup)))