From: hmurata Date: Mon, 11 Apr 2005 16:28:05 +0000 (+0000) Subject: (elmo-object-load): Call `elmo-set-auto-coding' X-Git-Tag: wl-2_15_3~84 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6effc8e81ead89aacd180c1528c85fb895e5dff2;p=elisp%2Fwanderlust.git (elmo-object-load): Call `elmo-set-auto-coding' without filename. --- diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 53de6c3..89cfb8d 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,8 @@ +2005-04-11 Hiroya Murata + + * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding' + without filename. + 2005-04-11 Katsumi Yamaoka * elmo-util.el (elmo-set-auto-coding): New function. diff --git a/elmo/elmo-util.el b/elmo/elmo-util.el index 2d96da1..368c5b8 100644 --- a/elmo/elmo-util.el +++ b/elmo/elmo-util.el @@ -181,7 +181,7 @@ File content is decoded with MIME-CHARSET." nil (with-temp-buffer (insert-file-contents-as-binary filename) - (let ((coding-system (or (elmo-set-auto-coding filename) + (let ((coding-system (or (elmo-set-auto-coding) (mime-charset-to-coding-system mime-charset)))) (when coding-system