From 79c262be66ff3215400fec35f1bdcf6687aac145 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sun, 6 Apr 2014 06:44:47 +0100 Subject: 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. --- emacs/notmuch-hello.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/notmuch-hello.el') 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))) -- cgit v1.2.3