changeset 63434:3466d8eb59e3

(mh-secure-message): Follow error conventions.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 14 Jun 2005 15:37:18 +0000
parents d70b1038ee22
children a5ba219acb16
files lisp/mh-e/mh-mime.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mh-e/mh-mime.el	Tue Jun 14 15:36:08 2005 +0000
+++ b/lisp/mh-e/mh-mime.el	Tue Jun 14 15:37:18 2005 +0000
@@ -597,7 +597,7 @@
     (let ((valid-methods (list "pgpmime" "pgp" "smime"))
           (valid-modes (list "sign" "encrypt" "signencrypt" "none")))
       (if (not (member method valid-methods))
-          (error (format "Sorry. METHOD \"%s\" is invalid." method)))
+          (error (format "Sorry. METHOD \"%s\" is invalid" method)))
       (if (not (member mode valid-modes))
           (error (format "Sorry. MODE \"%s\" is invalid" mode)))
       (mml-unsecure-message)