Function: erc-button-mode

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

Signature

(erc-button-mode &optional ARG)

Documentation

Toggle ERC button mode.

With a prefix argument ARG, enable button if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. This mode buttonizes all messages according to erc-button-alist.

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