diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-15 07:36:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-15 07:36:42 +0000 |
commit | 91fe8c378e5f0fae2963fe5ff0ddfefa36ac86d8 (patch) | |
tree | 99a143efa5a1f0fc98e2dc2c98e238ea404be887 /lisp/textmodes/text-mode.el | |
parent | 9cc92f8bd384877226545371ec3345c1a9411923 (diff) | |
download | emacs-91fe8c378e5f0fae2963fe5ff0ddfefa36ac86d8.tar.gz |
(text-mode): Let all-white lines separate paragraphs.
Diffstat (limited to 'lisp/textmodes/text-mode.el')
-rw-r--r-- | lisp/textmodes/text-mode.el | 4 |
1 files 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") |