Function: erc-autoaway-reestablish-idletimer
erc-autoaway-reestablish-idletimer is an interactive and byte-compiled
function defined in erc-autoaway.el.gz.
Signature
(erc-autoaway-reestablish-idletimer)
Documentation
Reestablish the Emacs idletimer.
If erc-autoaway-idle-method is emacs, you must call this
function each time you change erc-autoaway-idle-seconds.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-autoaway.el.gz
(defun erc-autoaway-reestablish-idletimer ()
"Reestablish the Emacs idletimer.
If `erc-autoaway-idle-method' is `emacs', you must call this
function each time you change `erc-autoaway-idle-seconds'."
(interactive)
(when erc-autoaway-idletimer
(cancel-timer erc-autoaway-idletimer))
(setq erc-autoaway-idletimer
(run-with-idle-timer erc-autoaway-idle-seconds
t
#'erc-autoaway-set-away
erc-autoaway-idle-seconds)))