From 3ce629634a2c5e11690abbc5d1a9fc4811e459c3 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 18 Nov 2022 16:02:32 +0100 Subject: [PATCH] Silence rmailsum byte compiler warnings * lisp/mail/rmailsum.el (rmail-summary-by-thread): Prefix unused lambda args with '_'. --- lisp/mail/rmailsum.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5