Function: erc-smiley-mode
erc-smiley-mode is an autoloaded, interactive and byte-compiled
function defined in erc-goodies.el.gz.
Signature
(erc-smiley-mode &optional ARG)
Documentation
Toggle ERC smiley mode.
If called interactively, enable erc-smiley-mode(var)/erc-smiley-mode(fun) if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil.
This mode translates text-smileys such as :-) into pictures.
This requires the function smiley-region, which is defined in
smiley.el, which is part of Gnus.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
;; Smiley
;;;###autoload(autoload 'erc-smiley-mode "erc-goodies" nil t)
(define-erc-module smiley nil
"This mode translates text-smileys such as :-) into pictures.
This requires the function `smiley-region', which is defined in
smiley.el, which is part of Gnus."
((add-hook 'erc-insert-modify-hook #'erc-smiley)
(add-hook 'erc-send-modify-hook #'erc-smiley))
((remove-hook 'erc-insert-modify-hook #'erc-smiley)
(remove-hook 'erc-send-modify-hook #'erc-smiley)))