themes icon indicating copy to clipboard operation
themes copied to clipboard

Org fontification extension assumes org-indent is loaded

Open hpfr opened this issue 2 years ago • 0 comments

What were you expecting?

No Invalid face reference: org-indent [160 times] in the echo area

What actually happened?

doom-themes-enable-org-fontification relies on the org-indent face: https://github.com/doomemacs/themes/blob/4aee1f5a0e54552669f747aa7c25e6027e73d76d/extensions/doom-themes-ext-org.el#L121-L123

This face is defined in the org-indent library. Org does not depend on org-indent; it’s only required by org-mode if org-startup-indented is set.

I’m not sure about the best approach to fix this. Vendoring the defface seems reasonable, since it’s simply ((t (:inherit org-hide))).

Steps to reproduce

Disable org-startup-indented, restart Emacs, and open an Org file

Installed commit of doom-themes

4aee1f5a0e54552669f747aa7c25e6027e73d76d

hpfr avatar Oct 13 '23 05:10 hpfr