]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: bugfix unquoted symbol
authorMark Walters <markwalters1009@gmail.com>
Sat, 14 Sep 2013 20:17:07 +0000 (21:17 +0100)
committerDavid Bremner <bremner@debian.org>
Sun, 15 Sep 2013 11:55:14 +0000 (08:55 -0300)
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.

emacs/notmuch.el

index 4de6229d0c6471660b094e815da831d2d7e33566..0ff248b96d9fd1948170514855cc94e19d4ff326 100644 (file)
@@ -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))))