diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-04-27 07:27:59 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-04-27 07:27:59 -0400 |
commit | 217202c084232f36d4fa0fead0f3aca21396d074 (patch) | |
tree | ea93d62c75dfadadaf18a7e274029b3d884801e5 /lisp/epa.el | |
parent | 5a5e4eb76a3e9bfc7d4eeec06f874b524d4df450 (diff) | |
download | emacs-217202c084232f36d4fa0fead0f3aca21396d074.tar.gz |
* lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363).
Diffstat (limited to 'lisp/epa.el')
-rw-r--r-- | lisp/epa.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/epa.el b/lisp/epa.el index 5c237bca9b4..70f27e272fc 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." #'epa-progress-callback-function (format "Decrypting %s..." (file-name-nondirectory decrypt-file)))) + (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) |