From 6a30a117097b28b03b805d71e59f1db60f53b108 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 4 Oct 2020 21:25:18 -0400 Subject: [PATCH] Fix #4023 (again): background mismatch for latex previews --- modules/lang/org/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 359f3bc41..f2cd2ae56 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -142,7 +142,8 @@ This forces it to read the background before rendering." remap) 'default) :background nil t)))) - (+org-refresh-latex-background-h) + (when doom-init-theme-p + (+org-refresh-latex-background-h)) ;; 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