summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Walters <markwalters1009@gmail.com>2017-04-15 16:49:46 +0100
committerDavid Bremner <david@tethera.net>2017-05-13 08:47:04 -0300
commit2d79d38a0f74ccf2195e3685cd114646961e4000 (patch)
tree0bf096fecd0970c2d5a2e3fb45ace7773de8fbbe
parente64fdf889d0f78543557f5b72ebca1571caf497e (diff)
emacs: tree: bugfix: specify --format-version
Previously notmuch tree did not specify the format-version when calling notmuch. This meant that when the structured output was slightly changed (in commit 14c60cf168ac3b0f277188c16e6012b7ebdadde7) stash filename broke. This fixes this breakage by specifying the format-version.
-rw-r--r--emacs/notmuch-tree.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
index 7bebdbab..d4d40761 100644
--- a/emacs/notmuch-tree.el
+++ b/emacs/notmuch-tree.el
@@ -917,7 +917,7 @@ the same as for the function notmuch-tree."
(notmuch-tag-clear-cache)
(let ((proc (notmuch-start-notmuch
"notmuch-tree" (current-buffer) #'notmuch-tree-process-sentinel
- "show" "--body=false" "--format=sexp"
+ "show" "--body=false" "--format=sexp" "--format-version=2"
message-arg search-args))
;; Use a scratch buffer to accumulate partial output.
;; This buffer will be killed by the sentinel, which