summaryrefslogtreecommitdiff
path: root/mu4e
diff options
context:
space:
mode:
authorsabof <esabof@gmail.com>2014-05-21 01:08:25 +0100
committersabof <esabof@gmail.com>2014-05-21 01:08:25 +0100
commitfa819de59be8f4cf1445202b476a3a23f72b8043 (patch)
treee06a178423a2caea774fdedc2d6591619b4fea90 /mu4e
parentd3122a8927c8cf8fcbdc2fc8ec9bab102cdb3176 (diff)
Avoid sorting by nil
Diffstat (limited to 'mu4e')
-rw-r--r--mu4e/mu4e-headers.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el
index 49c4464..4b859fd 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