From cf9dd380f345f9ef5c6421c6f79495b961534ee5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 26 Dec 2019 14:13:40 +0100 Subject: chore(emacs.d): Remove GPG agent warmup from mail sending Fetching credentials is no longer handled by msmtp itself. --- tools/emacs/config/mail-setup.el | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tools/emacs/config/mail-setup.el') diff --git a/tools/emacs/config/mail-setup.el b/tools/emacs/config/mail-setup.el index cc182d346c3a..e3aea7cd730d 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) -- cgit 1.4.1