changeset 16914:4b79df16b939

(html-mode): Locally set sentence-end.
author Richard M. Stallman <rms@gnu.org>
date Tue, 21 Jan 1997 09:27:59 +0000
parents 753ef587f1f4
children 8d28d96f6031
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Tue Jan 21 05:38:46 1997 +0000
+++ b/lisp/textmodes/sgml-mode.el	Tue Jan 21 09:27:59 1997 +0000
@@ -1128,6 +1128,9 @@
   (make-local-variable 'outline-regexp)
   (make-local-variable 'outline-heading-end-regexp)
   (make-local-variable 'outline-level)
+  (make-local-variable 'sentence-end)
+  (setq sentence-end
+	"[.?!][]\"')}]*\\(<[^>]*>\\)*\\($\\| $\\|\t\\|  \\)[ \t\n]*")
   (setq mode-name "HTML"
         major-mode 'html-mode
 	sgml-tag-alist html-tag-alist