The buffer is expected to contain a mail message."
(declare (interactive-only t))
(interactive)
- (epa-decrypt-armor-in-region (point-min) (point-max)))
+ (with-suppressed-warnings ((interactive-only epa-decrypt-armor-in-region))
+ (epa-decrypt-armor-in-region (point-min) (point-max))))
;;;###autoload
(defun epa-mail-verify ()
The buffer is expected to contain a mail message."
(declare (interactive-only t))
(interactive)
- (epa-verify-cleartext-in-region (point-min) (point-max)))
+ (with-suppressed-warnings ((interactive-only epa-verify-cleartext-in-region))
+ (epa-verify-cleartext-in-region (point-min) (point-max))))
;;;###autoload
(defun epa-mail-sign (start end signers mode)
(epa--read-signature-type)
'clear)))))
(let ((inhibit-read-only t))
- (epa-sign-region start end signers mode)))
+ (with-suppressed-warnings ((interactive-only epa-sign-region))
+ (epa-sign-region start end signers mode))))
(defun epa-mail-default-recipients ()
"Return the default list of encryption recipients for a mail buffer."
;; Don't let some read-only text stop us from encrypting.
(let ((inhibit-read-only t))
- (epa-encrypt-region start (point-max) recipient-keys signers signers))))
+ (with-suppressed-warnings ((interactive-only epa-encrypt-region))
+ (epa-encrypt-region start (point-max)
+ recipient-keys signers signers)))))
;;;###autoload
(defun epa-mail-import-keys ()
nil t))
(unless cleartext-end
(error "No cleartext tail"))
- (epa-verify-region cleartext-start cleartext-end))))))
+ (with-suppressed-warnings ((interactive-only epa-verify-region))
+ (epa-verify-region cleartext-start cleartext-end)))))))
;;;###autoload
(defun epa-sign-region (start end signers mode)