From: Richard M. Stallman Date: Tue, 21 Jan 1997 09:27:59 +0000 (+0000) Subject: (html-mode): Locally set sentence-end. X-Git-Tag: emacs-20.1~3030 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=da84bdc4d530b2938129534702d8e776a2510161;p=emacs.git (html-mode): Locally set sentence-end. --- 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