From fa819de59be8f4cf1445202b476a3a23f72b8043 Mon Sep 17 00:00:00 2001 From: sabof Date: Wed, 21 May 2014 01:08:25 +0100 Subject: [PATCH] Avoid sorting by nil --- mu4e/mu4e-headers.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 49c44645..4b859fd8 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -1226,7 +1226,8 @@ sortfield, change the sort-order) or nil (ask the user)." (t (if (eq sortfield mu4e~headers-sort-field) (if (eq mu4e~headers-sort-direction 'ascending) - 'descending 'ascending))) + 'descending 'ascending) + 'descending)) (mu4e-read-option "Direction: " '(("ascending" . 'ascending) ("descending" . 'descending)))))) (setq