]> git.eshelyaron.com Git - emacs.git/commit
Fix some SGML syntax edge cases (Bug#33887)
authorNoam Postavsky <npostavs@gmail.com>
Sun, 26 May 2019 15:07:14 +0000 (11:07 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Tue, 4 Jun 2019 12:42:50 +0000 (08:42 -0400)
commit438e4804d107720f526d0c7c367cbd029f264676
tree3b8a3561bc86f6a67a65d918c1f064e21445cbd0
parent7aaf500701be3b51c686b7d86c9b505ef5fa9b8f
Fix some SGML syntax edge cases (Bug#33887)

* lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-rules): Handle
single and double quotes symmetrically.  Don't skip quoted comment
enders.
* test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax):
Add more test cases.
(sgml-mode-quote-in-long-text): New test.
lisp/textmodes/sgml-mode.el
test/lisp/textmodes/sgml-mode-tests.el