discussion and development of piem
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: piem@inbox.kyleam.com
Subject: [PATCH] notmuch: Silence warning about "hidden" argument
Date: Fri, 24 Dec 2021 16:31:53 -0500	[thread overview]
Message-ID: <20211224213153.8115-1-kyle@kyleam.com> (raw)

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


                 reply	other threads:[~2021-12-24 21:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://git.kyleam.com/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211224213153.8115-1-kyle@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=piem@inbox.kyleam.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).