]> git.cworth.org Git - obsolete/notmuch-old/commit
emacs: Add a search to the 'recent searches' list once only
authorDavid Edmondson <dme@dme.org>
Mon, 26 Apr 2010 09:25:30 +0000 (10:25 +0100)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 14:31:26 +0000 (07:31 -0700)
commita9bf967e71cca6eb220063ee50b94a7601bc2b96
tree1197ea6c0306f52047a9051d64cf9211db711c79
parentd6dea895884cdcb356f774197cdb9f7f8e2b5188
emacs: Add a search to the 'recent searches' list once only

Avoiding adding the same search string to the 'recent searches' list
more than once by testing whether the string was already used with
`member' rather than `memq'.
emacs/notmuch-hello.el