diff options
| author | Juanma Barranquero | 2005-06-16 14:58:23 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-16 14:58:23 +0000 |
| commit | d7cd37107241d133b10ed3908d1ca64e3ebfc8a1 (patch) | |
| tree | ac1b72fd840df46bada767e73359152f45793e57 /lisp | |
| parent | 2c2b732fa0a26ea6d8159d9e5a0444d81e63ffed (diff) | |
| download | emacs-d7cd37107241d133b10ed3908d1ca64e3ebfc8a1.tar.gz emacs-d7cd37107241d133b10ed3908d1ca64e3ebfc8a1.zip | |
(mm-extern-local-file, mm-inline-external-body): Don't use `format' on `error'
arguments.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/mm-extern.el | 4 |
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 @@ | |||
| 52 | (mm-disable-multibyte) | 52 | (mm-disable-multibyte) |
| 53 | (if (file-exists-p name) | 53 | (if (file-exists-p name) |
| 54 | (mm-insert-file-contents name nil nil nil nil t) | 54 | (mm-insert-file-contents name nil nil nil nil t) |
| 55 | (error (format "File %s is gone" name))))) | 55 | (error "File %s is gone" name)))) |
| 56 | 56 | ||
| 57 | (defun mm-extern-url (handle) | 57 | (defun mm-extern-url (handle) |
| 58 | (erase-buffer) | 58 | (erase-buffer) |
| @@ -124,7 +124,7 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing." | |||
| 124 | handles) | 124 | handles) |
| 125 | (unless (mm-handle-cache handle) | 125 | (unless (mm-handle-cache handle) |
| 126 | (unless func | 126 | (unless func |
| 127 | (error (format "Access type (%s) is not supported" access-type))) | 127 | (error "Access type (%s) is not supported" access-type)) |
| 128 | (with-temp-buffer | 128 | (with-temp-buffer |
| 129 | (mm-insert-part handle) | 129 | (mm-insert-part handle) |
| 130 | (goto-char (point-max)) | 130 | (goto-char (point-max)) |