changeset 18256:27f2dfb2c1de

(text-mode): Let all-white lines separate paragraphs.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 Jun 1997 07:36:42 +0000
parents 526858c7eef6
children 34f1f8c5eda3
files lisp/textmodes/text-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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")