Hi Bastien,

With latest org-mode master, and emacs -q,
run (defface org-block '((t (:background "#494949" :extend t))) "") before loading org-mode,
then visit an org buffer containing the three following blocks.

When I do so, the org-block face only gets applied to the src block, and not to the quote block, nor the special block.


#+BEGIN_theorem

#+END_theorem


#+BEGIN_SRC sh

#+END_SRC

#+BEGIN_QUOTE

#+END_QUOTE

Regards,



Hi Sébastien,

Sébastien Miquel <sebastien.miq...@posteo.eu> writes:

Afaict, the org-block face isn't applied to special blocks. Its
documentation implies it applies to any block.

The relevant function is org-fontify-meta-lines-and-blocks-1.

It may be a simple matter of changing the logic a bit and adding
(add-face-text-property bol-after-beginline beg-of-endline 'org-block
t).
Is it still the case with latest master?  If so, can you provide
a minimal example?

Thanks,


Reply via email to