(epa-sign-region start end signers mode))
;;;###autoload
-(defun epa-encrypt-region (start end recipients sign)
+(defun epa-encrypt-region (start end recipients)
"Encrypt the current region between START and END for RECIPIENTS.
Don't use this command in Lisp programs!"
(list (region-beginning) (region-end)
(epa-select-keys (epg-make-context epa-protocol)
"Select recipients for encryption.
-If no one is selected, symmetric encryption will be performed. ")
- (if current-prefix-arg
- (y-or-n-p "Sign? ")))))
+If no one is selected, symmetric encryption will be performed. "))))
(save-excursion
(let ((context (epg-make-context epa-protocol))
cipher)
'end-open t)))))
;;;###autoload
-(defun epa-encrypt (start end recipients sign)
+(defun epa-encrypt (start end recipients)
"Encrypt the current buffer.
Don't use this command in Lisp programs!"
(interactive
(save-excursion
- (let ((verbose current-prefix-arg)
- recipients)
+ (let (recipients)
(goto-char (point-min))
(when (epa--mail-mode-p)
(save-restriction
(or coding-system-for-write
(epa--select-safe-coding-system (point) (point-max))))
(list (point) (point-max)
- (if verbose
+ (if current-prefix-arg
(epa-select-keys
(epg-make-context epa-protocol)
"Select recipients for encryption.
(epg-list-keys
(epg-make-context epa-protocol)
(concat "<" recipient ">")))
- recipients)))))
- (if verbose
- (y-or-n-p "Sign? "))))))
- (epa-encrypt-region start end recipients sign))
+ recipients)))))))))
+ (epa-encrypt-region start end recipients))
;;;###autoload
(defun epa-delete-keys (keys &optional allow-secret)