; Improve documentation of 'epa-mail-verify'
authorEli Zaretskii <eliz@gnu.org>
Wed, 4 Dec 2024 13:21:13 +0000 (15:21 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 4 Dec 2024 13:21:13 +0000 (15:21 +0200)
* doc/misc/epa.texi (Mail-mode integration):
* lisp/epa-mail.el (epa-mail-verify): Improve documentation of
'epa-mail-verify'.  (Bug#74630)

doc/misc/epa.texi
lisp/epa-mail.el

index f450b9cbdd989bb8023036e95e58afac153bdd2e..58c2a111348e4f099e9d93e7044ab2eb3deb2f6d 100644 (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
index 0c93b18eea1e5e7f61b26f21a3e894d8675a50d5..47529b02d22e5a0b53fbf1dbf1f4dc138cde574d 100644 (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))