; Fix wrong-type-argument in 'rcirc-handler-INVITE'
authorPhilip Kaludercic <philipk@posteo.net>
Thu, 16 May 2024 17:51:11 +0000 (19:51 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Thu, 16 May 2024 17:51:48 +0000 (19:51 +0200)
* lisp/net/rcirc.el (rcirc-handler-INVITE): Use
'with-rcirc-process-buffer' instead of passing a process to
'buffer-local-value'.

lisp/net/rcirc.el

index 0835d25460c16603e90ad9939146c876df1cc2b7..b913ba9e0a396db807cc33323ad49143afc1cbf0 100644 (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