From: Robert Pluim Date: Fri, 18 Nov 2022 15:02:32 +0000 (+0100) Subject: Silence rmailsum byte compiler warnings X-Git-Tag: emacs-29.0.90~1616^2~47 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ce629634a2c5e11690abbc5d1a9fc4811e459c3;p=emacs.git Silence rmailsum byte compiler warnings * lisp/mail/rmailsum.el (rmail-summary-by-thread): Prefix unused lambda args with '_'. --- diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 08c544bc999..b30c32aaffd 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -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