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