diff lisp/pgg-pgp5.el @ 76110:d6f2673064e7

2007-02-24 Chris Moore <dooglus@gmail.com> (pgg-*-encrypt-region): Check pgg-encrypt-for-me if no other recipients.
author Kim F. Storm <storm@cua.dk>
date Sat, 24 Feb 2007 00:07:19 +0000
parents e3694f1cb928
children 9355f9b7bbff
line wrap: on
line diff
--- a/lisp/pgg-pgp5.el	Fri Feb 23 23:26:27 2007 +0000
+++ b/lisp/pgg-pgp5.el	Sat Feb 24 00:07:19 2007 +0000
@@ -155,7 +155,7 @@
 	 (args
 	  (append
 	   `("+NoBatchInvalidKeys=off" "-fat" "+batchmode=1"
-	     ,@(if recipients
+	     ,@(if (or recipients pgg-encrypt-for-me)
 		   (apply #'append
 			  (mapcar (lambda (rcpt)
 				    (list "-r"