about summary refs log tree commit diff
path: root/tools/emacs/config/mail-setup.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-26T13·13+0100
committerVincent Ambo <tazjin@google.com>2019-12-26T13·13+0100
commitcf9dd380f345f9ef5c6421c6f79495b961534ee5 (patch)
treee84f96819d83af66cbad6320676458dac7271c05 /tools/emacs/config/mail-setup.el
parent39aa74ed6132c3e8467d8ea3835b59968d85066c (diff)
chore(emacs.d): Remove GPG agent warmup from mail sending r/305
Fetching credentials is no longer handled by msmtp itself.
Diffstat (limited to '')
-rw-r--r--tools/emacs/config/mail-setup.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/emacs/config/mail-setup.el b/tools/emacs/config/mail-setup.el
index cc182d346c..e3aea7cd73 100644
--- a/tools/emacs/config/mail-setup.el
+++ b/tools/emacs/config/mail-setup.el
@@ -48,14 +48,6 @@
 ;; handle that gracefully.
 (define-key notmuch-message-mode-map (kbd "C-x C-s") #'ignore)
 
-;; MSMTP decrypts passwords using pass, but pinentry doesn't work
-;; correctly in that setup. This forces a warmup of the GPG agent
-;; before sending the message.
-;;
-;; Note that the sending function is advised because the provided hook
-;; for this seems to run at the wrong time.
-(advice-add 'notmuch-mua-send-common :before 'warmup-gpg-agent)
-
 ;; Define a telephone-line segment for displaying the count of unread,
 ;; important mails in the last window's mode-line:
 (defvar *last-notmuch-count-redraw* 0)