Fix #4023: background mismatch for latex previews
A doom-load-theme-hook hook fixes the background of latex previews, but by the time org is loaded, this hook will have long since triggered, giving it no change to update its background, so we must run it at least once, immediately.
This commit is contained in:
parent
603a11569b
commit
018a95cf32
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ This forces it to read the background before rendering."
|
||||||
remap)
|
remap)
|
||||||
'default)
|
'default)
|
||||||
:background nil t))))
|
:background nil t))))
|
||||||
|
(+org-refresh-latex-background-h)
|
||||||
|
|
||||||
;; HACK Face specs fed directly to `org-todo-keyword-faces' don't respect
|
;; HACK Face specs fed directly to `org-todo-keyword-faces' don't respect
|
||||||
;; underlying faces like the `org-todo' face does, so we define our own
|
;; underlying faces like the `org-todo' face does, so we define our own
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue