discussion and development of piem
 help / color / mirror / code / Atom feed
* [PATCH] notmuch: Silence warning about "hidden" argument
@ 2021-12-24 21:31 Kyle Meyer
  0 siblings, 0 replies; only message in thread
From: Kyle Meyer @ 2021-12-24 21:31 UTC (permalink / raw)
  To: piem

Move an argument to its own line to avoid the warning from lisp-mode's
lisp--match-hidden-arg.  (And while touching that line, fix up the
indentation of piem-notmuch--with-current-message's BODY.)
---
 piem-notmuch.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/piem-notmuch.el b/piem-notmuch.el
index 71d56f7e..181480a7 100644
--- a/piem-notmuch.el
+++ b/piem-notmuch.el
@@ -122,7 +122,8 @@ (defun piem-notmuch-extract-patch-am-ready-mbox ()
                              (notmuch-show-get-subject))
              (= (notmuch-count-attachments
                  (piem-notmuch--with-current-message
-                  (mm-dissect-buffer))) 0))
+                   (mm-dissect-buffer)))
+                0))
     (let* ((thread-id
             (or notmuch-show-thread-id
                 (error "bug: notmuch-show-thread-id unexpectedly nil")))

base-commit: a996e8d46f822aa97d392cefac304f06cd91fd20
-- 
2.34.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-24 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-24 21:31 [PATCH] notmuch: Silence warning about "hidden" argument Kyle Meyer

Code repositories for project(s) associated with this public inbox

	https://git.kyleam.com/piem/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).