Closed scfc closed 5 years ago
I've now made it so that font-lock-ensure
is used where available, but I'm afraid the warning is still present. htmlize no longer aims for compatibility with Emacsen as old as 21, but I'm not yet ready to drop support for Emacs 24, which I am still using on some machines.
The warning should now be removed as well.
With Emacs 25.3, byte-compiling
htmlize.el
triggers a warning:The following patch solves this (while still fontifying the output :-)):
As I don't know the best way to preserve compatibility with Emacs 21/21, I won't submit this as a pull request (BTW,
htmlize.el
"aims for compatibility with Emacsen version 21 and later", whileREADME.md
"aims for compatibility with Emacsen version 22 and later").