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

This commit is contained in:
Richard M. Stallman 2007-02-17 20:39:55 +00:00
parent 9230e12dde
commit 4ebb03e66b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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"