emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 10efaf7: * lisp/htmlfontify.el (hfy-force-fontifica


From: Mark Oteiza
Subject: [Emacs-diffs] master 10efaf7: * lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.
Date: Mon, 21 Nov 2016 17:57:43 +0000 (UTC)

branch: master
commit 10efaf718c5258af0ba62077cf4e2aaf9fb90227
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    * lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.
---
 lisp/htmlfontify.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 52bc36e..08d1dd2 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]