changeset 63496:0be1bcd6830a

(mm-extern-local-file, mm-inline-external-body): Don't use `format' on `error' arguments.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 16 Jun 2005 14:58:23 +0000
parents 91a6c1b5b3c4
children 6e853e3f900e
files lisp/gnus/mm-extern.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/mm-extern.el	Thu Jun 16 14:57:23 2005 +0000
+++ b/lisp/gnus/mm-extern.el	Thu Jun 16 14:58:23 2005 +0000
@@ -52,7 +52,7 @@
     (mm-disable-multibyte)
     (if (file-exists-p name)
 	(mm-insert-file-contents name nil nil nil nil t)
-      (error (format "File %s is gone" name)))))
+      (error "File %s is gone" name))))
 
 (defun mm-extern-url (handle)
   (erase-buffer)
@@ -124,7 +124,7 @@
 	 handles)
     (unless (mm-handle-cache handle)
       (unless func
-	(error (format "Access type (%s) is not supported" access-type)))
+	(error "Access type (%s) is not supported" access-type))
       (with-temp-buffer
 	(mm-insert-part handle)
 	(goto-char (point-max))