]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-hello.el
emacs: hello: add a customize for saved-searches
[notmuch] / emacs / notmuch-hello.el
index 4972a4558e0b20b85c2277076e7f2f403d865ea1..a9c8c5344ab7b87f6133f4a9d84c7815f6e270e8 100644 (file)
@@ -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)))