Function: rcirc-maybe-remember-nick-quit
rcirc-maybe-remember-nick-quit is a byte-compiled function defined in
rcirc.el.gz.
Signature
(rcirc-maybe-remember-nick-quit PROCESS NICK CHANNEL)
Documentation
Remember NICK as leaving CHANNEL if they recently spoke.
PROCESS is the process object for the current connection.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-maybe-remember-nick-quit (process nick channel)
"Remember NICK as leaving CHANNEL if they recently spoke.
PROCESS is the process object for the current connection."
(let ((elapsed-lines (rcirc-elapsed-lines process nick channel)))
(when (and elapsed-lines
(< elapsed-lines rcirc-omit-threshold))
(let ((buffer (rcirc-get-buffer process channel)))
(when buffer
(with-current-buffer buffer
(let ((record (assoc-string nick rcirc-recent-quit-alist t))
(line (rcirc-last-line process nick channel)))
(if record
(setcdr record line)
(setq rcirc-recent-quit-alist
(cons (cons nick line)
rcirc-recent-quit-alist))))))))))