aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.el b/notmuch.el
index 8894a8e1..9de16e00 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -874,8 +874,8 @@ This function advances point to the next line when finished."
(goto-char (point-min))
(save-excursion
(if oldest-first
- (call-process "notmuch" nil t nil "search" query)
- (call-process "notmuch" nil t nil "search" "--reverse" query))
+ (call-process "notmuch" nil t nil "search" "--sort=oldest-first" query)
+ (call-process "notmuch" nil t nil "search" "--sort=newest-first" query))
(notmuch-search-markup-thread-ids)
))))