[PATCH] emacs: do not unconditionally set mail-user-agent

Subject: [PATCH] emacs: do not unconditionally set mail-user-agent

Date: Thu, 13 May 2021 20:28:07 -0300

To: notmuch@notmuchmail.org

Cc: David Bremner

From: David Bremner


A user that loads notmuch.el does not necessarily want to user
notmuch-message-mode to send mail.
---
 emacs/notmuch.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 6d37c623..3e2713e2 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -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.
-- 
2.30.2
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: