Commit 45926d06 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(nntp-encode-text): Properly encode outgoing text by

putting CR at the end of all lines.
parent 06cab6db
...@@ -906,7 +906,12 @@ This function is supposed to be called from `nntp-server-opened-hook'." ...@@ -906,7 +906,12 @@ This function is supposed to be called from `nntp-server-opened-hook'."
(insert "\n")) (insert "\n"))
;; Insert `.' at end of buffer (end of text mark). ;; Insert `.' at end of buffer (end of text mark).
(goto-char (point-max)) (goto-char (point-max))
(insert "." nntp-end-of-line))) (insert ".\n")
(goto-char (point-min))
(while (not (eobp))
(end-of-line)
(delete-char 1)
(insert nntp-end-of-line))))
(defun nntp-retrieve-headers-with-xover (articles &optional fetch-old) (defun nntp-retrieve-headers-with-xover (articles &optional fetch-old)
(set-buffer nntp-server-buffer) (set-buffer nntp-server-buffer)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment