diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-23 06:12:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-23 06:12:46 +0000 |
commit | 28d0e4dc88e44056462f1f8246fe78cd5c426da7 (patch) | |
tree | c97636c20e615afcac71641b60298ea341fb09c5 /lisp/textmodes | |
parent | dc76971545d16a994fc398f53076c25e4e925d1b (diff) | |
download | emacs-28d0e4dc88e44056462f1f8246fe78cd5c426da7.tar.gz |
(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.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 9 |
1 files 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]\\|\ -\\(</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$\\)" - paragraph-separate "^[ \t\n]*$\\|\ -^</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$" + paragraph-separate "[ \t]*$\\|\ +\[ \t]*</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$" + paragraph-start "[ \t]*$\\|\ +\[ \t]*</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$" + adaptive-fill-regexp "[ \t]*" comment-start "<!-- " comment-end " -->" comment-indent-function 'sgml-comment-indent |