From: Philip Kaludercic Date: Thu, 16 May 2024 17:51:11 +0000 (+0200) Subject: ; Fix wrong-type-argument in 'rcirc-handler-INVITE' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=706775253067c7ec7cfdd27921f703c9361e9a1f;p=emacs.git ; 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'. (cherry picked from commit 650ee9e071eea2ff8504e056131efa9f6ac894e9) --- diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index f6efb728d9c..f16bc2cd4a0 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -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