* lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.

This commit is contained in:
Mark Oteiza 2016-11-21 12:56:15 -05:00
parent 9de7c6752b
commit 10efaf718c

View file

@ -1825,7 +1825,7 @@ fontified. This is a simple convenience wrapper around
(if (fboundp 'font-lock-ensure)
(font-lock-ensure)
(when font-lock-defaults
(font-lock-fontify-buffer))))
(font-lock-ensure))))
((fboundp #'jit-lock-fontify-now)
(message "hfy jit-lock mode (%S %S)" window-system major-mode)
(jit-lock-fontify-now))