From: Katsumi Yamaoka Date: Fri, 5 Oct 2018 00:22:20 +0000 (+0000) Subject: Make nneething allow CRLF-encoded files (bug#32940) X-Git-Tag: emacs-26.1.90~107 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79bda3bc4731c7ac67b499a154c636d8eeb2edee;p=emacs.git Make nneething allow CRLF-encoded files (bug#32940) * lisp/gnus/nneething.el (nneething-request-article): Bind coding system to raw-text instead of binary when reading a file, that may be CRLF-encoded (bug#32940). --- diff --git a/lisp/gnus/nneething.el b/lisp/gnus/nneething.el index 9b6a92f10e7..886cbf81461 100644 --- a/lisp/gnus/nneething.el +++ b/lisp/gnus/nneething.el @@ -123,7 +123,7 @@ included.") (file-exists-p file) ; The file exists. (not (file-directory-p file)) ; It's not a dir. (save-excursion - (let ((nnmail-file-coding-system 'binary)) + (let ((nnmail-file-coding-system 'raw-text)) (nnmail-find-file file)) ; Insert the file in the nntp buf. (unless (nnheader-article-p) ; Either it's a real article... (let ((type