(elmo-object-load): Call `elmo-set-auto-coding'
authorhmurata <hmurata>
Mon, 11 Apr 2005 16:28:05 +0000 (16:28 +0000)
committerhmurata <hmurata>
Mon, 11 Apr 2005 16:28:05 +0000 (16:28 +0000)
without filename.

elmo/ChangeLog
elmo/elmo-util.el

index 53de6c3..89cfb8d 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
+       without filename.
+
 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * elmo-util.el (elmo-set-auto-coding): New function.
index 2d96da1..368c5b8 100644 (file)
@@ -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