diff options
author | Kenichi Handa <handa@m17n.org> | 1997-09-11 05:24:25 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-09-11 05:24:25 +0000 |
commit | edfa053fdd7760a4b069764f8de46a857d0cf2d6 (patch) | |
tree | 2cd5cb631ad9352d7ad76e96a9e9d8d8ee568fa7 /lisp/gnus | |
parent | 4e825084791164ac1dcd51b9fe82ee13292fa4d3 (diff) | |
download | emacs-edfa053fdd7760a4b069764f8de46a857d0cf2d6.tar.gz |
Set no-conversion for network communication
with nntpd.
(gnus-mule-initialize): For safety, set no-conversion for network
communication with nntpd.
Diffstat (limited to 'lisp/gnus')
-rw-r--r-- | lisp/gnus/gnus-mule.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-mule.el b/lisp/gnus/gnus-mule.el index 13062278ce8..75e224aace9 100644 --- a/lisp/gnus/gnus-mule.el +++ b/lisp/gnus/gnus-mule.el @@ -206,7 +206,10 @@ coding-system for reading and writing respectively." (add-hook 'message-send-news-hook 'gnus-mule-message-send-news-function) (add-hook 'message-send-mail-hook - 'gnus-mule-message-send-mail-function)) + 'gnus-mule-message-send-mail-function) + (let ((stream (get-process "nntpd"))) + (if (processp stream) + (set-process-coding-system stream 'no-conversion 'no-conversion)))) (gnus-mule-add-group "" 'undecided) (gnus-mule-add-group "fj" 'iso-2022-7bit) @@ -221,4 +224,6 @@ coding-system for reading and writing respectively." (add-hook 'gnus-startup-hook 'gnus-mule-initialize) +(modify-coding-system-alist 'network "nntp" 'no-conversion) + ;; gnus-mule.el ends here |