* pgg.el (pgg-sign-region): Add optional argument `cleartext'.
authorueno <ueno>
Sat, 6 Nov 1999 19:02:24 +0000 (19:02 +0000)
committerueno <ueno>
Sat, 6 Nov 1999 19:02:24 +0000 (19:02 +0000)
pgg.el

diff --git a/pgg.el b/pgg.el
index 8008db5..e6fa06d 100644 (file)
--- a/pgg.el
+++ b/pgg.el
@@ -188,11 +188,12 @@ and END to the keyring.")
     status))
 
 ;;;###autoload
-(defun pgg-sign-region (start end)
+(defun pgg-sign-region (start end &optional cleartext)
   (interactive "r")
   (let* ((entity (pgg-make-scheme pgg-default-scheme))
         (status (luna-send entity 'sign-region 
-                           entity start end (interactive-p))))
+                           entity start end 
+                           (or (interactive-p) cleartext))))
     (when (interactive-p)
       (if status
          (progn