summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-extern.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-06-16 14:58:23 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-06-16 14:58:23 +0000
commitd7cd37107241d133b10ed3908d1ca64e3ebfc8a1 (patch)
treeac1b72fd840df46bada767e73359152f45793e57 /lisp/gnus/mm-extern.el
parent2c2b732fa0a26ea6d8159d9e5a0444d81e63ffed (diff)
downloademacs-d7cd37107241d133b10ed3908d1ca64e3ebfc8a1.tar.gz
(mm-extern-local-file, mm-inline-external-body): Don't use `format' on `error'
arguments.
Diffstat (limited to 'lisp/gnus/mm-extern.el')
-rw-r--r--lisp/gnus/mm-extern.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/mm-extern.el b/lisp/gnus/mm-extern.el
index 994dd1d9c02..f6ec883de94 100644
--- a/lisp/gnus/mm-extern.el
+++ b/lisp/gnus/mm-extern.el
@@ -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 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
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))