mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 20:37:38 +00:00
(mm-extern-local-file, mm-inline-external-body): Don't use format' on error'
arguments.
This commit is contained in:
parent
2c2b732fa0
commit
d7cd371072
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue