]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: drop setting mail-user-agent, and document how to set it
[notmuch] / emacs / notmuch.el
index 26efcccd3fae5817717adc8d5156c60a290f47d9..3e2713e231290b2d80c4f7a35d7587cc437a79dc 100644 (file)
@@ -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.