[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 217202c: * lisp/epa.el (epa-decrypt-file): Apply ep

From: Noam Postavsky
Subject: [Emacs-diffs] master 217202c: * lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363).
Date: Fri, 27 Apr 2018 07:29:48 -0400 (EDT)

branch: master
commit 217202c084232f36d4fa0fead0f3aca21396d074
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    * lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363).
 lisp/epa.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/epa.el b/lisp/epa.el
index 5c237bc..70f27e2 100644
--- a/lisp/epa.el
+++ b/lisp/epa.el
@@ -701,6 +701,7 @@ If you do not specify PLAIN-FILE, this functions prompts 
for the value to use."
                                        (format "Decrypting %s..."
+    (setf (epg-context-pinentry-mode context) epa-pinentry-mode)
     (message "Decrypting %s..." (file-name-nondirectory decrypt-file))
     (condition-case error
        (epg-decrypt-file context decrypt-file plain-file)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]