2002-01-15 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Tue, 15 Jan 2002 15:03:13 +0000 (15:03 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Tue, 15 Jan 2002 15:03:13 +0000 (15:03 +0000)
        * nneething.el (nneething-request-article): Set
        `nnmail-file-coding-system' to `binary' locally, in order to
        read files without any conversion.

lisp/ChangeLog
lisp/nneething.el

index 7abfb4a..869aee0 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-15  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
+
+        * nneething.el (nneething-request-article): Set
+        `nnmail-file-coding-system' to `binary' locally, in order to
+        read files without any conversion.
+
 2002-01-15  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-agent.el (gnus-agent-retrieve-headers): Use
index 02e3593..8ce10ed 100644 (file)
@@ -126,7 +126,8 @@ included.")
         (file-exists-p file)           ; The file exists.
         (not (file-directory-p file))  ; It's not a dir.
         (save-excursion
-          (nnmail-find-file file)  ; Insert the file in the nntp buf.
+          (let ((nnmail-file-coding-system 'binary))
+            (nnmail-find-file file))   ; Insert the file in the nntp buf.
           (unless (nnheader-article-p) ; Either it's a real article...
             (let ((type
                    (unless (file-directory-p file)