Avoid sorting by nil

This commit is contained in:
sabof 2014-05-21 01:08:25 +01:00
parent d3122a8927
commit fa819de59b
1 changed files with 2 additions and 1 deletions

View File

@ -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