aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2005-06-16 15:04:53 +0000
committerJuanma Barranquero <[email protected]>2005-06-16 15:04:53 +0000
commitcbff7d05dd28d29bd44278f3185f19c2ba3e7efe (patch)
treec92df701750d26a25b6b2a5d244960e4c6c13dff
parenta2733633eaca673449c149b1ca99b32d7d40f94f (diff)
(mh-secure-message): Don't use `format' on `error' arguments.
-rw-r--r--lisp/mh-e/mh-mime.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 9bc8f7d74a..e5eee011e4 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -597,9 +597,9 @@ 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 "Sorry. METHOD \"%s\" is invalid" method))
(if (not (member mode valid-modes))
- (error (format "Sorry. MODE \"%s\" is invalid" mode)))
+ (error "Sorry. MODE \"%s\" is invalid" mode))
(mml-unsecure-message)
(if (not (string= mode "none"))
(save-excursion