aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-23 06:12:46 +0000
committerRichard M. Stallman1997-08-23 06:12:46 +0000
commit6c455d5c0e6ec2f8e9873e5cf4405191020f5c70 (patch)
treef85d71fb1534b1e40292aa5177b4258c24cd177e
parent9ee65d3171043c1435f871ce9db56330fdf6e007 (diff)
downloademacs-6c455d5c0e6ec2f8e9873e5cf4405191020f5c70.tar.gz
emacs-6c455d5c0e6ec2f8e9873e5cf4405191020f5c70.zip
(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.
-rw-r--r--lisp/textmodes/sgml-mode.el9
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)."
308 ;; A start or end tag by itself on a line separates a paragraph. 308 ;; A start or end tag by itself on a line separates a paragraph.
309 ;; This is desirable because SGML discards a newline that appears 309 ;; This is desirable because SGML discards a newline that appears
310 ;; immediately after a start tag or immediately before an end tag. 310 ;; immediately after a start tag or immediately before an end tag.
311 paragraph-start "^[ \t\n]\\|\ 311 paragraph-separate "[ \t]*$\\|\
312\\(</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$\\)" 312\[ \t]*</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$"
313 paragraph-separate "^[ \t\n]*$\\|\ 313 paragraph-start "[ \t]*$\\|\
314^</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$" 314\[ \t]*</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$"
315 adaptive-fill-regexp "[ \t]*"
315 comment-start "<!-- " 316 comment-start "<!-- "
316 comment-end " -->" 317 comment-end " -->"
317 comment-indent-function 'sgml-comment-indent 318 comment-indent-function 'sgml-comment-indent