summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-01-04 01:54:45 +0000
committerKyle Meyer <kyle@kyleam.com>2021-01-03 22:44:19 -0500
commit80388fab7c14fb09e8b1d20c2d44770b2036861a (patch)
tree227ea09d396f0055d748d4a8d126d046e1b21468
parent96da1c622caac904e3f60e306847a4e68ca15e0c (diff)
downloadpiem-80388fab7c14fb09e8b1d20c2d44770b2036861a.tar.gz
piem-notmuch--with-current-message: Declare debug and indent specs
-rw-r--r--piem-notmuch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/piem-notmuch.el b/piem-notmuch.el
index 361b450..ff8654c 100644
--- a/piem-notmuch.el
+++ b/piem-notmuch.el
@@ -33,6 +33,7 @@
(require 'subr-x)
(defmacro piem-notmuch--with-current-message (&rest body)
+ (declare (indent 0) (debug (body)))
(let ((rv (make-symbol "rv")))
`(let (,rv)
(with-current-notmuch-show-message
@@ -43,7 +44,7 @@
"Return inbox name from a `notmuch-show-mode' buffer."
(when (derived-mode-p 'notmuch-show-mode)
(piem-notmuch--with-current-message
- (piem-inbox-by-header-match))))
+ (piem-inbox-by-header-match))))
(defun piem-notmuch-get-mid ()
"Return the message ID of a `notmuch-show-mode' buffer."