X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-hello.el;h=bd882b830fd6ae7a320a0295e52bd15c9f92b9ea;hb=b66ff567f6b65c7aafa1216294900303ad3aa4d4;hp=52f162a4fcb3c4dcca277d941fabcad9c9f9eca1;hpb=d6dea895884cdcb356f774197cdb9f7f8e2b5188;p=notmuch diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 52f162a4..bd882b83 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -24,7 +24,6 @@ (require 'cl) (require 'notmuch-lib) -(require 'notmuch) (require 'notmuch-mua) (declare-function notmuch-search "notmuch" (query &optional oldest-first target-thread target-line continuation)) @@ -77,7 +76,7 @@ field." (defvar notmuch-hello-recent-searches nil) (defun notmuch-hello-remember-search (search) - (if (not (memq search notmuch-hello-recent-searches)) + (if (not (member search notmuch-hello-recent-searches)) (push search notmuch-hello-recent-searches)) (if (> (length notmuch-hello-recent-searches) notmuch-hello-recent-searches-max)