From: yoichi Date: Sun, 11 May 2003 09:35:13 +0000 (+0000) Subject: * mime-w3.el (mime-preview-text/html): Protect 1st arg of `message'. X-Git-Tag: semi-1_14_6~23 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3e5d4bc74586cc55df0dad19eb97f05dc8f70519;p=elisp%2Fsemi.git * mime-w3.el (mime-preview-text/html): Protect 1st arg of `message'. * mime-play.el (mime-mailcap-method-sentinel): Ditto. (mime-view-message/external-anon-ftp): Ditto. (mime-view-message/external-url): Ditto. --- diff --git a/ChangeLog b/ChangeLog index 340a561..a1d98c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-05-11 Yoichi NAKAYAMA + + * mime-w3.el (mime-preview-text/html): Protect 1st arg of `message'. + * mime-play.el (mime-mailcap-method-sentinel): Ditto. + (mime-view-message/external-anon-ftp): Ditto. + (mime-view-message/external-url): Ditto. + 2003-04-05 Yoichi NAKAYAMA * mime-view.el (mime-preview-toggle-display): Use boundary with diff --git a/mime-play.el b/mime-play.el index 43221e6..ed78440 100644 --- a/mime-play.el +++ b/mime-play.el @@ -166,7 +166,7 @@ specified, play as it. Default MODE is \"play\"." (delete-file file) )) (remove-alist 'mime-mailcap-method-filename-alist process) - (message (format "%s %s" process event))) + (message "%s %s" process event)) (defvar mime-echo-window-is-shared-with-bbdb (module-installed-p 'bbdb) @@ -472,7 +472,7 @@ It is registered to variable `mime-preview-quitting-method-alist'." (directory (cdr (assoc "directory" cal))) (name (cdr (assoc "name" cal))) (pathname (concat "/anonymous@" site ":" directory))) - (message (concat "Accessing " (expand-file-name name pathname) "...")) + (message "%s" (concat "Accessing " (expand-file-name name pathname) "...")) (funcall mime-raw-dired-function pathname) (goto-char (point-min)) (search-forward name) @@ -482,7 +482,7 @@ It is registered to variable `mime-preview-quitting-method-alist'." (defun mime-view-message/external-url (entity cal) (let ((url (cdr (assoc "url" cal)))) - (message (concat "Accessing " url "...")) + (message "%s" (concat "Accessing " url "...")) (funcall mime-raw-browse-url-function url))) diff --git a/mime-w3.el b/mime-w3.el index 9ba2dcb..598636f 100644 --- a/mime-w3.el +++ b/mime-w3.el @@ -60,7 +60,7 @@ (run-hooks 'mime-text-decode-hook) (condition-case err (w3-region p (point-max)) - (error (message (format "%s" err)))) + (error (message "%s" err))) (mime-put-keymap-region p (point-max) w3-mode-map) ))))