Mosè Giordano <giordano.m...@libero.it> writes: > With my patch it becomes > (if (fboundp 'font-latex-faces-present-p) > (font-latex-faces-present-p 'font-latex-verbatim-face) > (or (member (LaTeX-current-verbatim-macro) > (LaTeX-verbatim-macros-with-delims)) > (member (TeX-current-macro) (LaTeX-verbatim-macros-with-braces)) > (member (LaTeX-current-environment) (LaTeX-verbatim-environments)))) > If `font-latex-faces-present-p' is available > `(font-latex-faces-present-p 'font-latex-verbatim-face)' will be the > only test performed whatever the result, otherwise the member tests > are performed and I have no idea about how to speedup them. So yes, > the difference is apparent only in fontified regions, but > fontification is on by default, so I assume many people use it.
Huh? fontification is _lazy_ by default. Off-screen areas are not fontified unless you page over them. Check out the documentation for jit-lock-mode, the variant of font-lock that is active as Emacs' _default_. -- David Kastrup _______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex