summaryrefslogtreecommitdiff
path: root/lisp/htmlfontify.el
diff options
context:
space:
mode:
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))