comparison lisp/textmodes/fill.el @ 2412:b3ea1323d6d1

(fill-individual-paragraphs): When skipping mail headers, skip to a blank line.
author Richard M. Stallman <rms@gnu.org>
date Sun, 28 Mar 1993 22:56:29 +0000
parents d03c7b8ac284
children ef643dbb7d40
comparison
equal deleted inserted replaced
2411:afb11b3822c2 2412:b3ea1323d6d1
290 (save-excursion 290 (save-excursion
291 (goto-char min) 291 (goto-char min)
292 (beginning-of-line) 292 (beginning-of-line)
293 (if mailp 293 (if mailp
294 (while (or (looking-at "[ \t]*[^ \t\n]*:") (looking-at "[ \t]*$")) 294 (while (or (looking-at "[ \t]*[^ \t\n]*:") (looking-at "[ \t]*$"))
295 (forward-line 1))) 295 (search-forward "\n\n" nil 'move)))
296 (narrow-to-region (point) max) 296 (narrow-to-region (point) max)
297 ;; Loop over paragraphs. 297 ;; Loop over paragraphs.
298 (while (progn (skip-chars-forward " \t\n") (not (eobp))) 298 (while (progn (skip-chars-forward " \t\n") (not (eobp)))
299 (beginning-of-line) 299 (beginning-of-line)
300 (let ((start (point)) 300 (let ((start (point))