]> git.eshelyaron.com Git - emacs.git/commit
* lisp/textmodes/sgml-mode.el: Fix lone `>` in sgml text
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 May 2019 22:36:37 +0000 (18:36 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 May 2019 22:36:37 +0000 (18:36 -0400)
commit70839740214c5fac91536df8bd4cd7af23afa3b2
treef52973570958cf1b4005cd620409625b9d5c2496
parentdfed333b312d06b3416ebfadff544eae38313391
* lisp/textmodes/sgml-mode.el: Fix lone `>` in sgml text

(sgml--syntax-propertize-ppss):New variable and function.
(sgml-syntax-propertize-rules): Use it.
Don't ignore quotes not followed by a matching quote or a '>' or '<'.
(sgml-syntax-propertize): Set up sgml--syntax-propertize-ppss.

* test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax):
Add test for lone '>'.
lisp/textmodes/sgml-mode.el
test/lisp/textmodes/sgml-mode-tests.el