X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-hello.el;h=0582cae76f492fc1ab349ab4458e889b2ea576ae;hb=a467c5f071a1a730adc2bd84635dfc608c26ace9;hp=917ad3bbe4e8ea45a8f52790021bee661842514a;hpb=e312705d2058247ea23767801d9783338b4470b6;p=notmuch 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)))