From 6effc8e81ead89aacd180c1528c85fb895e5dff2 Mon Sep 17 00:00:00 2001 From: hmurata Date: Mon, 11 Apr 2005 16:28:05 +0000 Subject: [PATCH] (elmo-object-load): Call `elmo-set-auto-coding' without filename. --- elmo/ChangeLog | 5 +++++ elmo/elmo-util.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 1.7.10.4