]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "* lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure."
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 22 Nov 2016 04:05:47 +0000 (23:05 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Tue, 22 Nov 2016 04:05:47 +0000 (23:05 -0500)
This reverts commit 10efaf718c5258af0ba62077cf4e2aaf9fb90227.

lisp/htmlfontify.el

index a10d65b39f92781ef6ad3f354fae55aed4e8c320..5ffbb6dfe2ff4a7bb3a74f65813354c88e7b1c76 100644 (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-ensure))))
+        (font-lock-fontify-buffer))))
    ((fboundp #'jit-lock-fontify-now)
     (message "hfy jit-lock mode (%S %S)" window-system major-mode)
     (jit-lock-fontify-now))