Prefer newest-to-oldest sorting

The default sorting order of results from notmuch.el are in
oldest-to-newest. This prefers the opposite.
This commit is contained in:
William Carroll 2020-02-14 18:01:38 +00:00
parent a726bf737a
commit 1ed7f2ed73

View file

@ -27,6 +27,9 @@
(:name "review" :query "tag:review" :key "r")
(:name "waiting" :query "tag:waiting" :key "w")))
;; Sort results from newest-to-oldest.
(setq notmuch-search-oldest-first nil)
;; Assert that no two saved searches share share a KBD
(prelude/assert
(list/xs-distinct-by? (lambda (x) (plist-get x :key)) notmuch-saved-searches))