aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-hello.el
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2014-04-06 06:44:47 +0100
committerGravatar David Bremner <david@tethera.net>2014-04-11 10:26:41 -0300
commit79c262be66ff3215400fec35f1bdcf6687aac145 (patch)
tree564a7bad3019e52b45ab12a6ac1ffa3696ecbd0c /emacs/notmuch-hello.el
parent5e26d14536398210869a920f8e7bb84fd2ace6aa (diff)
emacs: hello: add a customize for saved-searches
Make the defcustom for notmuch-saved-searches use the new plist format. It should still work with oldstyle saved-searches but will write the newstyle form.
Diffstat (limited to 'emacs/notmuch-hello.el')
-rw-r--r--emacs/notmuch-hello.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 4972a455..a9c8c534 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -323,7 +323,7 @@ return that."
;; Add the new one.
(customize-save-variable 'notmuch-saved-searches
(add-to-list 'notmuch-saved-searches
- (cons name search) t))
+ (list :name name :query search) t))
(message "Saved '%s' as '%s'." search name)
(notmuch-hello-update)))