emacs: bugfix unquoted symbol

In the recent changes for search order handling the default-value of
notmuch-search-oldest-first was used. However, default-value needs a
symbol so the symbol-name needs to be quoted.

This missing quote was causing strange sort-orders in some cases.
This commit is contained in:
Mark Walters 2013-09-14 21:17:07 +01:00 committed by David Bremner
parent 71521f06b0
commit 302120362e

View file

@ -888,7 +888,7 @@ the configured default sort order."
nil nil
;; Use the default search order (if we're doing a search from a ;; Use the default search order (if we're doing a search from a
;; search buffer, ignore any buffer-local overrides) ;; search buffer, ignore any buffer-local overrides)
(default-value notmuch-search-oldest-first))) (default-value 'notmuch-search-oldest-first)))
(let* ((query (or query (notmuch-read-query "Notmuch search: "))) (let* ((query (or query (notmuch-read-query "Notmuch search: ")))
(buffer (get-buffer-create (notmuch-search-buffer-title query)))) (buffer (get-buffer-create (notmuch-search-buffer-title query))))