Mercurial > emacs
changeset 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 | 42fdfa5aeb2a |
children | d9f403187bdc |
files | lisp/mh-e/mh-mime.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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