projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5e4eb
)
* lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363).
author
Noam Postavsky
<npostavs@gmail.com>
Fri, 27 Apr 2018 11:27:59 +0000
(07:27 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Fri, 27 Apr 2018 11:27:59 +0000
(07:27 -0400)
lisp/epa.el
patch
|
blob
|
history
diff --git
a/lisp/epa.el
b/lisp/epa.el
index 5c237bca9b44d46d61dd38e81bcbc4847b78ed52..70f27e272fca5b52718fc169e084bfcc6ca2a853 100644
(file)
--- 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)