[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: none
From: |
Po Lu |
Subject: |
Re: none |
Date: |
Wed, 13 Mar 2024 21:57:20 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
> This causes the following byte-compilation warning:
>
> In gnus-notification-close:
> gnus/gnus-notifications.el:91:36: Warning: Unused lexical argument `reason'
Thanks, I'll fix this tomorrow, though you could also install the
obvious change now:
diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el
index 9ef21c91627..9c524de8ec4 100644
--- a/lisp/gnus/gnus-notifications.el
+++ b/lisp/gnus/gnus-notifications.el
@@ -88,7 +88,7 @@ gnus-notifications-action
;; an action of theirs) are selected
(assoc-delete-all id gnus-notifications-id-to-msg))
-(defun gnus-notification-close (id reason)
+(defun gnus-notification-close (id _reason)
"Remove ID from the alist of notification identifiers to messages.
REASON is ignored."
(assoc-delete-all id gnus-notifications-id-to-msg))