# HG changeset patch # User Richard M. Stallman # Date 866360202 0 # Node ID 27f2dfb2c1de62c848dc347544a0df18c55f5591 # Parent 526858c7eef617cf5889d258811202a18bde09d7 (text-mode): Let all-white lines separate paragraphs. diff -r 526858c7eef6 -r 27f2dfb2c1de lisp/textmodes/text-mode.el --- a/lisp/textmodes/text-mode.el Sun Jun 15 07:36:22 1997 +0000 +++ b/lisp/textmodes/text-mode.el Sun Jun 15 07:36:42 1997 +0000 @@ -58,7 +58,7 @@ (defun text-mode () "Major mode for editing text written for humans to read. -In this mode, paragraphs are delimited only by blank lines. +In this mode, paragraphs are delimited only by blank or white lines. You can thus get the full benefit of adaptive filling (see the variable `adaptive-fill-mode'). \\{text-mode-map} @@ -69,7 +69,7 @@ (setq local-abbrev-table text-mode-abbrev-table) (set-syntax-table text-mode-syntax-table) (make-local-variable 'paragraph-start) - (setq paragraph-start (concat "$\\|" page-delimiter)) + (setq paragraph-start (concat "[ \t]*$\\|" page-delimiter)) (make-local-variable 'paragraph-separate) (setq paragraph-separate paragraph-start) (setq mode-name "Text")