Function: rmail-ensure-blank-line

rmail-ensure-blank-line is a byte-compiled function defined in rmail.el.gz.

Signature

(rmail-ensure-blank-line)

Documentation

Ensure a message ends in a blank line.

Call with point at the end of the message.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
(defun rmail-ensure-blank-line ()
  "Ensure a message ends in a blank line.
Call with point at the end of the message."
  (unless (bolp)
    (insert "\n"))
  (unless (looking-back "\n\n" (- (point) 2))
    (insert "\n")))