Replace still more end-of-line etc with line-end-position, etc.
[bpt/emacs.git] / lisp / mail / sendmail.el
index 0f4768b..40d6b94 100644 (file)
@@ -1149,8 +1149,7 @@ external program defined by `sendmail-program'."
                   ;; should override any specified in the message itself.
                     (when where-content-type
                       (goto-char where-content-type)
-                      (beginning-of-line)
-                      (delete-region (point)
+                      (delete-region (point-at-bol)
                                      (progn (forward-line 1) (point)))))))
            ;; Insert an extra newline if we need it to work around
            ;; Sun's bug that swallows newlines.