1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

putting CR at the end of all lines.
This commit is contained in:
Richard M. Stallman 1998-08-13 06:20:33 +00:00
parent 06cab6db58
commit 45926d06f4

View file

@ -906,7 +906,12 @@ This function is supposed to be called from `nntp-server-opened-hook'."
(insert "\n"))
;; Insert `.' at end of buffer (end of text mark).
(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)
(set-buffer nntp-server-buffer)