mu4e: fix bug preventing mu4e-headers-change-sorting to sort by list

The little bug was caused by a little confusion of the key for list-IDs.
Namely, we use `:list` and not `:list-id` for list-IDs.
This commit is contained in:
Mekeor Melire 2017-10-30 23:57:02 +01:00
parent ea2ffe23ae
commit 150234cb5f
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ but also manually invoked searches."
(defvar mu4e-headers-sort-field :date
"Field to sort the headers by. Must be a symbol,
one of: `:date', `:subject', `:size', `:prio', `:from', `:to.',
`:list-id'")
`:list'")
(defvar mu4e-headers-sort-direction 'descending
"Direction to sort by; a symbol either `descending' (sorting
@ -291,7 +291,7 @@ followed by the docid, followed by `mu4e~headers-docid-post'.")
(defvar mu4e~headers-sort-field-choices
'( ("date" . :date)
("from" . :from)
("list" . :list-id)
("list" . :list)
("maildir" . :maildir)
("prio" . :prio)
("zsize" . :size)