Commit 4ebb03e6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(pgg-gpg-process-region): Make USE-AGENT nil if PASSPHRASE is given.

parent 9230e12d
2007-02-17 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el (pgg-gpg-process-region): Make USE-AGENT nil
if PASSPHRASE is given.
2007-02-17 Chris Moore <dooglus@gmail.com>
 
* jka-cmpr-hook.el (jka-compr-compression-info-list): Recognize
......@@ -61,7 +61,7 @@
"GnuPG ID of your default identity.")
(defun pgg-gpg-process-region (start end passphrase program args)
(let* ((use-agent (pgg-gpg-use-agent-p))
(let* ((use-agent (and (null passphrase) (pgg-gpg-use-agent-p)))
(output-file-name (pgg-make-temp-file "pgg-output"))
(args
`("--status-fd" "2"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment