From 6c455d5c0e6ec2f8e9873e5cf4405191020f5c70 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 23 Aug 1997 06:12:46 +0000 Subject: [PATCH] (sgml-mode-common): Set paragraph-start like paragraph-separate. Do match a line which is just a <...> construct after whitespac.e Set adaptive-fill-regexp to match whitespace only. --- lisp/textmodes/sgml-mode.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 792d643893e..8dfd427f9b4 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -308,10 +308,11 @@ varables of same name)." ;; A start or end tag by itself on a line separates a paragraph. ;; This is desirable because SGML discards a newline that appears ;; immediately after a start tag or immediately before an end tag. - paragraph-start "^[ \t\n]\\|\ -\\($\\)" - paragraph-separate "^[ \t\n]*$\\|\ -^$" + paragraph-separate "[ \t]*$\\|\ +\[ \t]*$" + paragraph-start "[ \t]*$\\|\ +\[ \t]*$" + adaptive-fill-regexp "[ \t]*" comment-start "" comment-indent-function 'sgml-comment-indent -- 2.39.2