From: Richard M. Stallman Date: Sat, 23 Aug 1997 06:12:46 +0000 (+0000) Subject: (sgml-mode-common): Set paragraph-start like paragraph-separate. X-Git-Tag: emacs-20.1~465 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c455d5c0e6ec2f8e9873e5cf4405191020f5c70;p=emacs.git (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. --- 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