Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using font-lock-fontify-buffer instead of font-lock-ensure #65

Open
kirk86 opened this issue Oct 15, 2019 · 1 comment
Open

using font-lock-fontify-buffer instead of font-lock-ensure #65

kirk86 opened this issue Oct 15, 2019 · 1 comment
Labels

Comments

@kirk86
Copy link

kirk86 commented Oct 15, 2019

Could you please replace this according to the suggested emacs guidelines on using font-locks

image

It seems that emacs prefers font-lock-ensure or font-lock-flush instead of font-lock-fontify-buffer.

@DarthFennec
Copy link
Owner

I recall looking into this issue a year or two ago. I don't remember exactly what the problem was with font-lock-ensure and font-lock-flush, but it was definitely either that the updates didn't happen sometimes, or that it was very slow when they did. font-lock-fontify-buffer was the best choice at the time, which is why I left it in.

Things may have changed since then. I'll look into this again and see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants