mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Add TAGMSG handler
* rcirc.el (rcirc-handler-TAGMSG): Add new message handler
This commit is contained in:
parent
567e288eb9
commit
c300326fa0
1 changed files with 8 additions and 0 deletions
|
|
@ -3322,6 +3322,14 @@ is the process object for the current connection."
|
|||
;; All requested capabilities have been responded to
|
||||
(rcirc-send-string process "CAP" "END"))))
|
||||
|
||||
(defun rcirc-handler-TAGMSG (process sender _args _text)
|
||||
"Handle a empty tag message from SENDER.
|
||||
PROCESS is the process object for the current connection."
|
||||
(dolist (tag rcirc-message-tags)
|
||||
(when-let ((handler (intern-soft (concat "rcirc-tag-handler-" (car tag))))
|
||||
((fboundp handler)))
|
||||
(funcall handler process sender (cdr tag)))))
|
||||
|
||||
(defun rcirc-handler-BATCH (process _sender args _text)
|
||||
"Open or close a batch.
|
||||
ARGS should have the form (tag type . parameters) when starting a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue