Closed larstvei closed 10 years ago
Ah, didn't realize that font-lock-ensure
was new. Just pushed a fix to master. Lemme know if it works.
Hi, now it messaged Fontifying *temp*... (regexps........................)
133 times.
For me changing
(if (functionp 'font-lock-ensure)
(font-lock-ensure)
;; font-lock-fontify-buffer is marked as interactive only
;; in Emacs 25. Call interactively to avoid
;; byte-compilation errors
(call-interactively 'font-lock-fontify-buffer))
to
(when (functionp 'font-lock-ensure)
(font-lock-ensure))
Fixed the issue. I'm not to familiar with font-lock
, so not sure if this is a viable solution.
When you ran the original code, were the results in esup fontified?
By deleting that line, I'm pretty sure you disabled font-lock so you shouldn't have any syntax highlighting.
True! I tried to call font-lock-fontify-buffer
non-interactively, and that worked just fine. When it's called interactively it runs in verbose, and ends up generating a lot of messages (and this seriously slows it down).
I did not get any warnings or errors when I compiled it. If you get warnings/errors you could see if running font-lock-default-fontify-buffer
instead helps? I'm pretty sure that will work just the same, but have no idea if it will work in Emacs 25.
Works great, thanks!
I get the following error when I run
esup
I commented out the line, at it worked fine.
I run Emacs 24.4.1 on Mac OS X yosemite.