]> git.eshelyaron.com Git - emacs.git/commitdiff
(html-mode): Locally set sentence-end.
authorRichard M. Stallman <rms@gnu.org>
Tue, 21 Jan 1997 09:27:59 +0000 (09:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 21 Jan 1997 09:27:59 +0000 (09:27 +0000)
lisp/textmodes/sgml-mode.el

index 234d8c2fba736c0aea518ce19c833590378f75a9..3b8af26750ba1850d77da49d6136bd0b235413f1 100644 (file)
@@ -1128,6 +1128,9 @@ do:
   (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