]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - emacs/notmuch-hello.el
emacs: Add a search to the 'recent searches' list once only
[obsolete/notmuch-old] / emacs / notmuch-hello.el
index 52f162a4fcb3c4dcca277d941fabcad9c9f9eca1..30b3a5e0ffdf50f5baeceba7f43d3645b945634b 100644 (file)
@@ -77,7 +77,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)