> So that's the only way we found to refresh the current fontification of
> a buffer with font-lock-mode. If there's a better way, let me know!

font-lock-fontify-region on older emacs and font-lock-ensure on more recent versions.