summaryrefslogtreecommitdiff
path: root/lisp/htmlfontify.el
diff options
context:
space:
mode:
authorMark Oteiza <mvoteiza@udel.edu>2016-11-21 12:56:15 -0500
committerMark Oteiza <mvoteiza@udel.edu>2016-11-21 12:56:15 -0500
commit10efaf718c5258af0ba62077cf4e2aaf9fb90227 (patch)
treecc8d20fe891ee025a9f1813fd850f1fae6ee293b /lisp/htmlfontify.el
parent9de7c6752bffa99535bb42320a2a1936118a4515 (diff)
downloademacs-10efaf718c5258af0ba62077cf4e2aaf9fb90227.tar.gz
* lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.
Diffstat (limited to 'lisp/htmlfontify.el')
-rw-r--r--lisp/htmlfontify.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 52bc36e3606..08d1dd2d98a 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))