From da84bdc4d530b2938129534702d8e776a2510161 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 21 Jan 1997 09:27:59 +0000 Subject: [PATCH] (html-mode): Locally set sentence-end. --- lisp/textmodes/sgml-mode.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 234d8c2fba7..3b8af26750b 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -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 -- 2.39.2