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/functions.el | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tools/emacs/config/functions.el') diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el index 193e1a7412..2b97130068 100644 --- a/tools/emacs/config/functions.el +++ b/tools/emacs/config/functions.el @@ -138,15 +138,6 @@ :sort t :action #'magit-status)) -(defun warmup-gpg-agent (arg &optional exit) - "Function used to warm up the GPG agent before use. This is - useful in cases where there is no easy way to make pinentry run - in the correct context (such as when sending email)." - (interactive) - (message "Warming up GPG agent") - (epg-sign-string (epg-make-context) "dummy") - nil) - (defun bottom-right-window-p () "Determines whether the last (i.e. bottom-right) window of the active frame is showing the buffer in which this function is -- cgit 1.4.1