mu4e/icalendar: Avoid unused lexical variable gnus-icalendar-find-if

This syncs the definition of mu4e-icalendar-reply with the one of
gnus-icalendar-reply and, in turn, avoids the compiler warning
“Unused lexical variable `gnus-icalendar-find-if'”.
This commit is contained in:
Christophe Troestler 2021-03-16 21:24:59 +01:00
parent 339a17852b
commit 2d67b66506
1 changed files with 2 additions and 3 deletions

View File

@ -85,9 +85,8 @@
(gnus-icalendar-additional-identities (mu4e-personal-addresses 'no-regexp))
(reply (gnus-icalendar-with-decoded-handle
handle
(let ((gnus-icalendar-find-if (lambda(_pred _seq) nil)))
(gnus-icalendar-event-reply-from-buffer
(current-buffer) status (gnus-icalendar-identities)))))
(gnus-icalendar-event-reply-from-buffer
(current-buffer) status (gnus-icalendar-identities))))
(msg (mu4e-message-at-point 'noerror))
(charset (cdr (assoc 'charset (mm-handle-type handle)))))
(when reply