2001-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
 
+       * lisp/message.el (rfc822-goto-eoh): Define it when void.
+
+2001-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
+
        * lisp/message.el (message-resend, message-send): Undo.
 
 2001-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
 
     (message-newline-and-reformat arg t)
     t))
 
+(defun-maybe rfc822-goto-eoh ()
+  ;; Go to header delimiter line in a mail message, following RFC822 rules
+  (goto-char (point-min))
+  (while (looking-at "^[^: \n]+:\\|^[ \t]")
+    (forward-line 1))
+  (point))
+
 (defun message-do-auto-fill ()
   "Like `do-auto-fill', but don't fill in message header."
   (when (> (point) (save-excursion (rfc822-goto-eoh)))