# HG changeset patch # User Richard M. Stallman # Date 893918447 0 # Node ID 0308bce52ae4450ecb90886480c2114ae630a2dc # Parent 594b894aada5926c4e9ee6ad7ac56ce6683803a6 (ispell-message): Use rfc822-goto-eoh. diff -r 594b894aada5 -r 0308bce52ae4 lisp/textmodes/=ispell4.el --- a/lisp/textmodes/=ispell4.el Thu Apr 30 06:39:27 1998 +0000 +++ b/lisp/textmodes/=ispell4.el Thu Apr 30 06:40:47 1998 +0000 @@ -1027,16 +1027,12 @@ (let (non-internal-message (old-case-fold-search case-fold-search) (case-fold-search nil)) - (goto-char (point-min)) + ;; Don't spell-check the headers. - (if (search-forward mail-header-separator nil t) - ;; Move to first body line. - (forward-line 1) - (while (and (looking-at "[a-zA-Z-]+:\\|\t\\| ") - (not (eobp))) - (forward-line 1)) - (setq non-internal-message t) - ) + (rfc822-goto-eoh) + (forward-line 1) + (setq non-internal-message (looking-at "")) + (let* ((cite-regexp ;Prefix of inserted text (cond ((featurep 'supercite) ; sc 3.0