]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence rmailsum byte compiler warnings
authorRobert Pluim <rpluim@gmail.com>
Fri, 18 Nov 2022 15:02:32 +0000 (16:02 +0100)
committerRobert Pluim <rpluim@gmail.com>
Fri, 18 Nov 2022 15:09:05 +0000 (16:09 +0100)
* lisp/mail/rmailsum.el (rmail-summary-by-thread): Prefix unused
lambda args with '_'.

lisp/mail/rmailsum.el

index 08c544bc9992424d9a5fe8a60a463849cfba4773..b30c32aaffd0468c857c5fb287906d0f73a53ae4 100644 (file)
@@ -437,10 +437,11 @@ headers of the messages."
                         (list 'rmail-summary-by-thread msgnum)
                         (if (and rmail-summary-progressively-narrow
                                  (rmail-summary--exists-1))
-                            (lambda (msg msgnum)
+                            (lambda (msg _msgnum)
                               (and (aref rmail-summary-currently-displayed-msgs msg)
                                    (aref enc-msgs msg)))
-                          (lambda (msg msgnum) (aref enc-msgs msg)))
+                          (lambda (msg _msgnum)
+                             (aref enc-msgs msg)))
                         msgnum))))
 
 ;;;###autoload