Variable: erc-autoaway-idle-method
erc-autoaway-idle-method is a customizable variable defined in
erc-autoaway.el.gz.
Value
user
Documentation
The method used to determine how long you have been idle.
If user, the time of the last command sent to Emacs is used.
If emacs, the idle time in Emacs is used.
If irc, the time of the last IRC command is used.
The time itself is specified by erc-autoaway-idle-seconds.
See erc-autoaway-mode(var)/erc-autoaway-mode(fun) for more information on the various
definitions of being idle.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-autoaway.el.gz
(defcustom erc-autoaway-idle-method 'user
"The method used to determine how long you have been idle.
If `user', the time of the last command sent to Emacs is used.
If `emacs', the idle time in Emacs is used.
If `irc', the time of the last IRC command is used.
The time itself is specified by `erc-autoaway-idle-seconds'.
See `erc-autoaway-mode' for more information on the various
definitions of being idle."
:type '(choice (const :tag "User idle time" user)
(const :tag "Emacs idle time" emacs)
(const :tag "Last IRC action" irc))
:set (lambda (sym val)
(if erc-autoaway-mode
(progn
(erc-autoaway-disable)
(set sym val)
(erc-autoaway-enable))
(set sym val))))