From: Jonas Bernoulli Date: Sun, 10 Jan 2021 14:00:48 +0000 (+0100) Subject: emacs: deal with unused lexical arguments and variables X-Git-Tag: 0.32_rc0~151 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=inline;h=0067a43ea2ee554eafed1e1300a71259cd6b6a6d;hp=0067a43ea2ee554eafed1e1300a71259cd6b6a6d;p=notmuch emacs: deal with unused lexical arguments and variables The previous commit switched to lexical-binding but without dealing with the new warnings about unused lexical arguments and variables. This commit deals with most of them, in most cases by either removing leftover bindings that are actually unnecessary, or by marking certain arguments as "known to be unused" by prefixing their names with "_". In the case of the functions named `notmuch-show-insert-...' the amount of silencing that is required is a bit extreme and we might want to investigate if there is a better way. In the case of `notmuch-mua-mail', ignoring CONTINUE means that we do not fully follow the intended behavior described in `compose-mail's doc-string. ---