(nnimap-request-accept-article): Remove \n's from
[gnus] / lisp / nnimap.el
index 41efdc4..c9747a6 100644 (file)
@@ -1123,7 +1123,7 @@ function is generally only called when Gnus is shutting down."
                    ;; remove any 'From blabla' lines, some IMAP servers
                    ;; reject the entire message otherwise.
                    (when (looking-at "^From[^:]")
-                     (kill-region (gnus-point-at-bol) (gnus-point-at-eol)))
+                     (kill-region (point) (progn (forward-line) (point))))
                    ;; turn into rfc822 format (\r\n eol's)
                    (while (search-forward "\n" nil t)
                      (replace-match "\r\n")))