aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-08-21 17:00:11 -0700
committerDavid Bremner <david@tethera.net>2021-08-22 07:05:13 -0700
commit731697d671749a13634a2a4b843ce62f2927f64f (patch)
tree754e93c78844e7fd798770157a3eb005bb7b157c /emacs/notmuch.el
parent357dd488caf0262f8a36ea4fd23b9d017cc93440 (diff)
CLI: define and use format version 5
This is a bit of a cheat, since the format does not actually change. On the other hand it is fairly common to do something like this to shared libary SONAMEs when the ABI changes in some subtle way. It does rely on the format-version argument being early enough on the command line to generate a sensible error message.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 351334aa..739cb93b 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -1020,7 +1020,7 @@ the configured default sort order."
(save-excursion
(let ((proc (notmuch-start-notmuch
"notmuch-search" buffer #'notmuch-search-process-sentinel
- "search" "--format=sexp" "--format-version=4"
+ "search" "--format=sexp" "--format-version=5"
(if oldest-first
"--sort=oldest-first"
"--sort=newest-first")