summaryrefslogtreecommitdiff
path: root/lisp/textmodes/text-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2019-11-29 11:51:48 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2019-11-29 11:51:48 -0500
commit7fff418edf56244a1fcf54718523aa9b5cb3a854 (patch)
tree34ea2f43685afe333b2b0be5f04b1e4eed96f9cd /lisp/textmodes/text-mode.el
parent6d8e758e85d0662775b27111289aa199e0d0a46f (diff)
downloademacs-7fff418edf56244a1fcf54718523aa9b5cb3a854.tar.gz
emacs-7fff418edf56244a1fcf54718523aa9b5cb3a854.tar.bz2
emacs-7fff418edf56244a1fcf54718523aa9b5cb3a854.zip
* lisp/textmodes/mhtml-mode.el: Fix bug#38372
The `sgml-syntax-propertize-rules` rely on the `sgml--syntax-propertize-ppss` setup by `sgml-syntax-propertize` so it is not correct/safe to use them directly like html used to do. Change `sgml-syntax-propertize` so it can be used by mhtml, and then adjust mhtml-mode accordingly. * lisp/textmodes/mhtml-mode.el: Remove redundant `eval-and-compile`. Only require cl-lib at compile-time. (mhtml--syntax-propertize): New const, extracted from mhtml-syntax-propertize. (mhtml-syntax-propertize): Use `sgml-syntax-propertize`. * lisp/textmodes/sgml-mode.el (sgml--syntax-propertize): New const, extracted from sgml-syntax-propertize. (sgml-syntax-propertize): Add optional `rules-function` arg.
Diffstat (limited to 'lisp/textmodes/text-mode.el')
0 files changed, 0 insertions, 0 deletions