]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix name of gnus-notification(s)-close; ignore argument
authorEric Abrahamsen <eric@ericabrahamsen.net>
Wed, 13 Mar 2024 14:38:49 +0000 (07:38 -0700)
committerEshel Yaron <me@eshelyaron.com>
Fri, 15 Mar 2024 08:59:03 +0000 (09:59 +0100)
* lisp/gnus/gnus-notifications.el (gnus-notifications-close): Original
name was probably a typo.

(cherry picked from commit c5945e0f9eaf01e653d5afbce72837a05e3e347a)

lisp/gnus/gnus-notifications.el

index 9ef21c91627e2996cfc2deefc0805d83b650e916..35f90ebfe4060f22b6230cfbd1cf9ab7cd48f739 100644 (file)
@@ -88,7 +88,7 @@ not get notifications."
   ;; an action of theirs) are selected
   (assoc-delete-all id gnus-notifications-id-to-msg))
 
-(defun gnus-notification-close (id reason)
+(defun gnus-notifications-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))