X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=3e2713e231290b2d80c4f7a35d7587cc437a79dc;hb=d7ddfa0d0ec62c10ecd60779ca1edd9b6973593b;hp=26efcccd3fae5817717adc8d5156c60a290f47d9;hpb=371f481d93073cad23f7ce8579a83a4db09147ef;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 26efcccd..3e2713e2 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -577,7 +577,7 @@ thread." (notmuch-search-foreach-result beg end (lambda (pos) (setq output (append output (notmuch-search-get-tags pos))))) - output)) + (delete-dups output))) (defun notmuch-search-interactive-tag-changes (&optional initial-input) "Prompt for tag changes for the current thread or region. @@ -1162,8 +1162,6 @@ Point should be at the beginning of the line." ;;; _ -(setq mail-user-agent 'notmuch-user-agent) - (provide 'notmuch) ;; After provide to avoid loops if notmuch was require'd via notmuch-init-file.