Commit 8ab2275f authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(mh-secure-message): Follow error conventions.

parent 52ebd91d
......@@ -597,7 +597,7 @@ IDENTITY is optionally the default-user-id to use."
(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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment