diff options
author | Jani Nikula <jani@nikula.org> | 2011-09-23 21:57:38 +0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-11-22 22:55:15 -0400 |
commit | a467c5f071a1a730adc2bd84635dfc608c26ace9 (patch) | |
tree | 15058d5a102c4a2a9b6594f70db394ec2c028bd9 /emacs/notmuch-hello.el | |
parent | e312705d2058247ea23767801d9783338b4470b6 (diff) |
emacs: Make saving new saved searches append, not prepend
Append new saved searches at the end of saved searches rather than insert
in front.
Signed-off-by: Jani Nikula <jani@nikula.org>
Diffstat (limited to 'emacs/notmuch-hello.el')
-rw-r--r-- | emacs/notmuch-hello.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 917ad3bb..0582cae7 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -188,8 +188,8 @@ Typically \",\" in the US and UK and \".\" in Europe." collect elem)) ;; Add the new one. (customize-save-variable 'notmuch-saved-searches - (push (cons name search) - notmuch-saved-searches)) + (add-to-list 'notmuch-saved-searches + (cons name search) t)) (message "Saved '%s' as '%s'." search name) (notmuch-hello-update))) |