aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2013-09-14 21:17:07 +0100
committerGravatar David Bremner <bremner@debian.org>2013-09-15 08:55:14 -0300
commit302120362e7ce50c8d24544a4ff6254e8aaff6e8 (patch)
tree54f00d5e5c3aec20efb48484d66bb8d1f4024c0b /emacs
parent71521f06b00a01c5b0eaea5f5f624fe57ed7f426 (diff)
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.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 4de6229d..0ff248b9 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -888,7 +888,7 @@ the configured default sort order."
nil
;; Use the default search order (if we're doing a search from a
;; 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: ")))
(buffer (get-buffer-create (notmuch-search-buffer-title query))))