Function: mail-mode-auto-fill
mail-mode-auto-fill is a byte-compiled function defined in
sendmail.el.gz.
Signature
(mail-mode-auto-fill)
Documentation
Carry out Auto Fill for Mail mode.
If within the headers, this makes the new lines into continuation lines.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
(defun mail-mode-auto-fill ()
"Carry out Auto Fill for Mail mode.
If within the headers, this makes the new lines into continuation lines."
(if (< (point) (mail-header-end))
(let ((old-line-start (line-beginning-position)))
(if (do-auto-fill)
(save-excursion
(beginning-of-line)
(while (not (eq (point) old-line-start))
;; Use insert-before-markers in case we're inserting
;; before the saved value of point (which is common).
(insert-before-markers " ")
(forward-line -1))
t)))
(do-auto-fill)))