From 91fe8c378e5f0fae2963fe5ff0ddfefa36ac86d8 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 15 Jun 1997 07:36:42 +0000 Subject: [PATCH] (text-mode): Let all-white lines separate paragraphs. --- lisp/textmodes/text-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index b555d61a810..7e175fe9412 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el @@ -58,7 +58,7 @@ inherit all the commands defined in this map.") (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 @@ Turning on Text mode runs the normal hook `text-mode-hook'." (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") -- 2.39.5