Function: rcirc-markup-my-nick
rcirc-markup-my-nick is a byte-compiled function defined in
rcirc.el.gz.
Signature
(rcirc-markup-my-nick SENDER RESPONSE)
Documentation
Highlight the users nick.
If RESPONSE indicates that the nick was mentioned in a message, highlight the entire line and record the activity.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-markup-my-nick (_sender response)
"Highlight the users nick.
If RESPONSE indicates that the nick was mentioned in a message,
highlight the entire line and record the activity."
(with-syntax-table rcirc-nick-syntax-table
(while (re-search-forward (concat "\\b"
(regexp-quote (rcirc-nick
(rcirc-buffer-process)))
"\\b")
nil t)
(rcirc-add-face (match-beginning 0) (match-end 0)
'rcirc-nick-in-message)
(when (string= response "PRIVMSG")
(rcirc-add-face (point-min) (point-max)
'rcirc-nick-in-message-full-line)
(rcirc-record-activity (current-buffer) 'nick)))))