]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix wrong-type-argument in 'rcirc-handler-INVITE'
authorPhilip Kaludercic <philipk@posteo.net>
Thu, 16 May 2024 17:51:11 +0000 (19:51 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:51:18 +0000 (20:51 +0200)
* 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)

lisp/net/rcirc.el

index f6efb728d9c1fd7a2850135eb1ba4345a03bb4ef..f16bc2cd4a0c877005fbb6d98b200c0172d37e12 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