diff lisp/mh-e/mh-mime.el @ 63499:7d727ba4a112

(mh-secure-message): Don't use `format' on `error' arguments.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 16 Jun 2005 15:04:53 +0000
parents 3466d8eb59e3
children 60261c7a1b56
line wrap: on
line diff
--- a/lisp/mh-e/mh-mime.el	Thu Jun 16 15:04:00 2005 +0000
+++ b/lisp/mh-e/mh-mime.el	Thu Jun 16 15:04:53 2005 +0000
@@ -597,9 +597,9 @@
     (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