Htmlize: Ensure highlight-num hook autoloads pkg

This commit is contained in:
TEC 2021-04-27 01:22:56 +08:00
parent be914efb61
commit 8daa7adf49
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 0 deletions

View File

@ -7062,6 +7062,7 @@ font-locking are /not/ loaded, and so do not impact the result.
By enabling these modes in ~htmlize-before-hook~ we can correct this behaviour.
#+begin_src emacs-lisp
(autoload #'highlight-numbers--turn-on "highlight-numbers")
(add-hook 'htmlize-before-hook #'highlight-numbers--turn-on)
#+end_src