Synch with Oort Gnus.
authoryamaoka <yamaoka>
Wed, 2 Oct 2002 23:24:08 +0000 (23:24 +0000)
committeryamaoka <yamaoka>
Wed, 2 Oct 2002 23:24:08 +0000 (23:24 +0000)
lisp/ChangeLog
lisp/gnus-ems.el

index 984afef..920a363 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-02  Katsumi Yamaoka  <yamaoka@jpl.org>
+       From Peter von der Ahe <nospam2159@daimi.au.dk>.
+
+       * gnus-ems.el (gnus-x-splash): Set coding-system-for-read to
+       raw-text.
+
 2002-09-30  Ted Zlatanov <tzz@lifelogs.com>
 
        * spam.el: merged changes from pinard@iro.umontreal.ca (François Pinard).
index b06a122..85f0b8d 100644 (file)
        (when (and dir
                   (file-exists-p (setq file
                                        (expand-file-name "x-splash" dir))))
-         (with-temp-buffer
-           (insert-file-contents-as-binary file)
-           (goto-char (point-min))
-           (ignore-errors
-             (setq pixmap (read (current-buffer))))))
+         (let ((coding-system-for-read 'raw-text)
+               default-enable-multibyte-characters)
+           (with-temp-buffer
+             (insert-file-contents-as-binary file)
+             (goto-char (point-min))
+             (ignore-errors
+               (setq pixmap (read (current-buffer)))))))
        (when pixmap
          (make-face 'gnus-splash)
          (setq height (/ (car pixmap) (frame-char-height))