Defer loading of ox-texinfo

This commit is contained in:
contrapunctus 2022-01-24 14:33:59 +05:30
parent 15080c1372
commit 6d82212760
1 changed files with 2 additions and 1 deletions

View File

@ -4025,7 +4025,8 @@ BUG - improper behaviour with checkboxes.
(use-package org-indent
:hook (org-mode . org-indent-mode))
(use-package ox-texinfo)
(use-package ox-texinfo
:hook (org-mode . (require 'ox-texinfo))) ;; ideally, I'd run this in :before advice for org-export...
#+END_SRC
From https://emacs.stackexchange.com/questions/20577/org-babel-load-all-languages-on-demand