diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-06-04 09:58:22 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-06-04 09:58:22 -0400 |
commit | cdadb7a97cbed523af9f52705d8b03e91d17313f (patch) | |
tree | 8b9df10b3c84c489842167f9cfdf3e61974850b2 /test/lisp/emacs-lisp | |
parent | 4fff6502368e87b3c031589a1a96267243f868b0 (diff) | |
download | emacs-cdadb7a97cbed523af9f52705d8b03e91d17313f.tar.gz emacs-cdadb7a97cbed523af9f52705d8b03e91d17313f.tar.bz2 emacs-cdadb7a97cbed523af9f52705d8b03e91d17313f.zip |
* lisp/font-lock.el (font-lock--syntax-table-affects-ppss): New var
This tries to make `font-lock-syntax-table` work correctly even when
it changes the parsing of strings and comments, as was the case in
`font-latex.el`.
We should probably deprecate the use of `font-lock-syntax-table` since
the present fix is still not 100% and since it comes with performance
problems in large files.
(font-lock-set-defaults): Set it.
(font-lock-fontify-syntactically-region): Don't use `syntax-ppss`
when we think that `font-lock-syntax-table` would interfere.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions