From ac81515cc85edf36c2ea32028e557362a4bc6d3a Mon Sep 17 00:00:00 2001 From: Kai Harries Date: Sat, 29 Jan 2022 07:33:21 +0100 Subject: [PATCH] org-fontify-meta-lines-and-blocks: use org-default face for caption Previous the face org-block was used for captions. That looks quite awkward if you decide to change the background color of org-block to make code-blocks, etc. stand out. TBH I don't really understand the reasoning behind choosing org-block as face for captions but IMHO org-default seems to me a saner choice. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index d58f6af55..8eaf5b0de 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5387,7 +5387,7 @@ by a #." (add-text-properties (line-beginning-position) (match-end 1) '(font-lock-fontified t face org-meta-line)) (add-text-properties (match-end 0) (line-end-position) - '(font-lock-fontified t face org-block)) + '(font-lock-fontified t face org-default)) t) ((member dc3 '(" " "")) ;; Just a comment, the plus was not there -- 2.33.1