; Improve documentation of 'epa-mail-verify'

* doc/misc/epa.texi (Mail-mode integration):
* lisp/epa-mail.el (epa-mail-verify): Improve documentation of
'epa-mail-verify'.  (Bug#74630)
This commit is contained in:
Eli Zaretskii 2024-12-04 15:21:13 +02:00
parent c7d9ffcf82
commit d50293b0f1
2 changed files with 5 additions and 2 deletions

View file

@ -398,7 +398,8 @@ Decrypt OpenPGP armors in the current buffer.
@kindex C-c C-e C-v
@kindex C-c C-e v
@findex epa-mail-verify
Verify OpenPGP cleartext signed messages in the current buffer.
Verify OpenPGP cleartext signed messages in the current buffer. If
verification fails for some reason, this command signals an error.
@item C-c C-e C-s and C-c C-e s
@kindex C-c C-e C-s

View file

@ -90,7 +90,9 @@ The buffer is expected to contain a mail message."
;;;###autoload
(defun epa-mail-verify ()
"Verify OpenPGP cleartext signed messages in the current buffer.
The buffer is expected to contain a mail message."
The buffer is expected to contain a mail message.
If the verification fails, signal an error."
(declare (interactive-only t))
(interactive)
(with-suppressed-warnings ((interactive-only epa-verify-cleartext-in-region))