diff options
| author | Philip Kaludercic | 2024-05-16 19:51:11 +0200 |
|---|---|---|
| committer | Philip Kaludercic | 2024-05-16 19:51:48 +0200 |
| commit | 650ee9e071eea2ff8504e056131efa9f6ac894e9 (patch) | |
| tree | 00b1aef9a7e12a2fe690f027eccd03ee5fa86307 | |
| parent | acfb2c6163b60507801fb8666129925e793394c9 (diff) | |
| download | emacs-650ee9e071eea2ff8504e056131efa9f6ac894e9.tar.gz emacs-650ee9e071eea2ff8504e056131efa9f6ac894e9.zip | |
; 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'.
| -rw-r--r-- | lisp/net/rcirc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 0835d25460c..b913ba9e0a3 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -3694,7 +3694,7 @@ Passwords are stored in `rcirc-authinfo' (which see)." | |||
| 3694 | "Notify user of an invitation from SENDER. | 3694 | "Notify user of an invitation from SENDER. |
| 3695 | ARGS should have the form (TARGET CHANNEL). PROCESS is the | 3695 | ARGS should have the form (TARGET CHANNEL). PROCESS is the |
| 3696 | process object for the current connection." | 3696 | process object for the current connection." |
| 3697 | (let ((self (buffer-local-value 'rcirc-nick rcirc-process)) | 3697 | (let ((self (with-rcirc-process-buffer process rcirc-nick)) |
| 3698 | (target (car args)) | 3698 | (target (car args)) |
| 3699 | (chan (cadr args))) | 3699 | (chan (cadr args))) |
| 3700 | ;; `rcirc-channel-filter' is not used here because joining | 3700 | ;; `rcirc-channel-filter' is not used here because joining |