# HG changeset patch # User Juanma Barranquero # Date 1118934293 0 # Node ID 7d727ba4a112f9e7393e7f579ee37827020c25e3 # Parent 42fdfa5aeb2a2c3bbf7965cb54f8c456cb82ec44 (mh-secure-message): Don't use `format' on `error' arguments. diff -r 42fdfa5aeb2a -r 7d727ba4a112 lisp/mh-e/mh-mime.el --- 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