]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: jump: sort-order bugfix
authorMark Walters <markwalters1009@gmail.com>
Tue, 2 Sep 2014 18:56:04 +0000 (19:56 +0100)
committerDavid Bremner <david@tethera.net>
Sun, 7 Sep 2014 18:02:16 +0000 (20:02 +0200)
default-value needs its argument to be quoted.

Slightly strangely default-value of 't or nil is 't or nil
respectively so the code

(default-value notmuch-search-oldest-first)

just gives the current value of notmuch-search-oldest-first rather
than intended default-value of this variable.

The symptom is that if you are in a search buffer and use notmuch jump
to run a saved search which does not have an explicitly set sort order
then the sort order of the saved-search is inherited from the current
search buffer rather than being the default search order.

Thanks to Jani for finding the bug.


No differences found