On 25/09/22 04:29, Ihor Radchenko wrote:
If you want to be really safe, try setting the :extend face property in
org-font-lock-set-keywords-hook or in org-mode-hook.
Yep, I was using org-mode-hook to be safe before filling this bug
report. Thanks!
On 24/09/22 02:58, Ihor Radchenko wrote:
Yes, it does. Just set it to nil, and you will be good to go.
Won't that have other effects?
Starting with:
$ emacs -Q
and evaluating
(require 'org)
(set-face-attribute 'org-block nil :extend nil :background "snow2")
(set-face-attribute 'org-block-begin-line nil :extend nil :background
"snow2")
(set-face-attribute 'org-block-end-line nil :extend nil :background "snow2")
Starting with:
$ emacs -Q
and evaluating
(require 'org)
(set-face-attribute 'org-block nil :extend nil :background "snow2")
(set-face-attribute 'org-block-begin-line nil :extend nil :background
"snow2")
(set-face-attribute 'org-block-end-line nil :extend nil :background "snow2")