mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-18 00:50:44 -08:00
* lisp/htmlfontify.el (hfy-force-fontification): Fix bug#40642
Don't presume that `jit-lock-mode` is enabled. Do not merge to `master`.
This commit is contained in:
parent
a5f7c26907
commit
0ed7177696
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue