; Fix wrong-type-argument in 'rcirc-handler-INVITE'

* lisp/net/rcirc.el (rcirc-handler-INVITE): Use
'with-rcirc-process-buffer' instead of passing a process to
'buffer-local-value'.
This commit is contained in:
Philip Kaludercic 2024-05-16 19:51:11 +02:00
parent acfb2c6163
commit 650ee9e071
No known key found for this signature in database

View file

@ -3694,7 +3694,7 @@ Passwords are stored in `rcirc-authinfo' (which see)."
"Notify user of an invitation from SENDER.
ARGS should have the form (TARGET CHANNEL). PROCESS is the
process object for the current connection."
(let ((self (buffer-local-value 'rcirc-nick rcirc-process))
(let ((self (with-rcirc-process-buffer process rcirc-nick))
(target (car args))
(chan (cadr args)))
;; `rcirc-channel-filter' is not used here because joining