aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-03-09 19:24:33 +0000
committerDave Love1999-03-09 19:24:33 +0000
commitb8b149715fa02813414e1b6936c073d4eca5439b (patch)
tree63e2312c4c07ad225140f62c3f90a867e9a899d5
parent3be6c6a0a2fcc17fbf176871e55b81b04c68c940 (diff)
downloademacs-b8b149715fa02813414e1b6936c073d4eca5439b.tar.gz
emacs-b8b149715fa02813414e1b6936c073d4eca5439b.zip
(html-mode): Use sentence-end-double-space when setting sentence-end.
-rw-r--r--lisp/textmodes/sgml-mode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index e7c38df5629..63ee8f40d88 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -1197,7 +1197,10 @@ To work around that, do:
1197 (make-local-variable 'outline-level) 1197 (make-local-variable 'outline-level)
1198 (make-local-variable 'sentence-end) 1198 (make-local-variable 'sentence-end)
1199 (setq sentence-end 1199 (setq sentence-end
1200 "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| $\\|\t\\| \\)[ \t\n]*") 1200 (if sentence-end-double-space
1201 "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| $\\|\t\\| \\)[ \t\n]*"
1202
1203 "[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| \\|\t\\)[ \t\n]*"))
1201 (setq sgml-tag-alist html-tag-alist 1204 (setq sgml-tag-alist html-tag-alist
1202 sgml-face-tag-alist html-face-tag-alist 1205 sgml-face-tag-alist html-face-tag-alist
1203 sgml-tag-help html-tag-help 1206 sgml-tag-help html-tag-help