Function: erc-lurker-initialize
erc-lurker-initialize is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-lurker-initialize)
Documentation
Initialize ERC lurker tracking functionality.
This function adds erc-lurker-update-status to
erc-insert-pre-hook in order to record the time of each nick's
most recent PRIVMSG as well as initializing the state variable
storing this information.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-lurker-initialize ()
"Initialize ERC lurker tracking functionality.
This function adds `erc-lurker-update-status' to
`erc-insert-pre-hook' in order to record the time of each nick's
most recent PRIVMSG as well as initializing the state variable
storing this information."
(setq erc-lurker-state (make-hash-table :test 'equal))
(add-hook 'erc-insert-pre-hook #'erc-lurker-update-status))