(mh-secure-message): Don't use `format' on `error' arguments.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 16 Jun 2005 15:04:53 +0000 (15:04 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 16 Jun 2005 15:04:53 +0000 (15:04 +0000)
lisp/mh-e/mh-mime.el

index 9bc8f7d..e5eee01 100644 (file)
@@ -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