projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f7c26
)
* lisp/htmlfontify.el (hfy-force-fontification): Fix bug#40642
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 15 Apr 2020 16:17:14 +0000
(12:17 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 15 Apr 2020 16:17:14 +0000
(12:17 -0400)
Don't presume that `jit-lock-mode` is enabled.
Do not merge to `master`.
lisp/htmlfontify.el
patch
|
blob
|
history
diff --git
a/lisp/htmlfontify.el
b/lisp/htmlfontify.el
index c0012427ae1c7b46b9a37712c9e606eec87dcd5d..08e52d63a26ce36986f5d9d6b919f64a0fe6bcf9 100644
(file)
--- a/
lisp/htmlfontify.el
+++ b/
lisp/htmlfontify.el
@@
-1837,7
+1837,8
@@
fontified. This is a simple convenience wrapper around
(when font-lock-defaults
; Silence "interactive use only" warning on Emacs >= 25.1.
(with-no-warnings (font-lock-fontify-buffer)))))
- ((fboundp #'jit-lock-fontify-now)
+ ((and (fboundp #'jit-lock-fontify-now)
+ (bound-and-true-p jit-lock-mode))
(message "hfy jit-lock mode (%S %S)" window-system major-mode)
(jit-lock-fontify-now))
(t