Function: erc-notify-JOIN
erc-notify-JOIN is a byte-compiled function defined in
erc-notify.el.gz.
Signature
(erc-notify-JOIN PROC PARSED)
Documentation
Check if channel joiner is on erc-notify-list and not on erc-last-ison.
If this condition is satisfied, produce a notify_on message and add the nick
to erc-last-ison to prevent any further notifications.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-notify.el.gz
(defun erc-notify-JOIN (proc parsed)
"Check if channel joiner is on `erc-notify-list' and not on `erc-last-ison'.
If this condition is satisfied, produce a notify_on message and add the nick
to `erc-last-ison' to prevent any further notifications."
(let ((nick (erc-extract-nick (erc-response.sender parsed))))
(when (and (erc-member-ignore-case nick erc-notify-list)
(not (erc-member-ignore-case nick erc-last-ison)))
(add-to-list 'erc-last-ison nick)
(run-hook-with-args 'erc-notify-signon-hook
(or erc-server-announced-name erc-session-server)
nick)
(erc-display-message
parsed 'notice proc
'notify_on ?n nick ?m (erc-network-name)))
nil))