diff options
| author | Katsumi Yamaoka | 2018-10-05 00:22:20 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2018-10-05 00:22:20 +0000 |
| commit | 79bda3bc4731c7ac67b499a154c636d8eeb2edee (patch) | |
| tree | 5eeee4550c845f0627d5e6196eee638957fb6386 | |
| parent | 2cae1cf6f87a10f9d85d1759b1703abcc421c9a5 (diff) | |
| download | emacs-79bda3bc4731c7ac67b499a154c636d8eeb2edee.tar.gz emacs-79bda3bc4731c7ac67b499a154c636d8eeb2edee.zip | |
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).
| -rw-r--r-- | lisp/gnus/nneething.el | 2 |
1 files changed, 1 insertions, 1 deletions
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.") | |||
| 123 | (file-exists-p file) ; The file exists. | 123 | (file-exists-p file) ; The file exists. |
| 124 | (not (file-directory-p file)) ; It's not a dir. | 124 | (not (file-directory-p file)) ; It's not a dir. |
| 125 | (save-excursion | 125 | (save-excursion |
| 126 | (let ((nnmail-file-coding-system 'binary)) | 126 | (let ((nnmail-file-coding-system 'raw-text)) |
| 127 | (nnmail-find-file file)) ; Insert the file in the nntp buf. | 127 | (nnmail-find-file file)) ; Insert the file in the nntp buf. |
| 128 | (unless (nnheader-article-p) ; Either it's a real article... | 128 | (unless (nnheader-article-p) ; Either it's a real article... |
| 129 | (let ((type | 129 | (let ((type |