Hi,

Is there any reason to force the extension of the lines of begin/end
while the whole fontification of a block is on? I haven't seen any
since org 9 and this allows to under/overline only the text of
begin/end while setting the background color of the entire line.

Cheers,

Phil
From 61cf0a3cc65449f3382e0ffa4ff21b2d07e3cb14 Mon Sep 17 00:00:00 2001
From: Phil Estival <p...@7d.nz>
Date: Tue, 21 Jan 2025 12:25:08 +0100
Subject: [PATCH] org.el: whole block fontification does not change extension
 of lines

* lisp/org.el: block lines extension can be set in the customization
menu independently of the fontification of the entire block.
---
 lisp/org.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 2e82b6e18..1bf23cd23 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5152,8 +5152,6 @@ The following commands are available:
     (when foreground
       (set-face-foreground 'org-hide foreground)))
   ;; Set face extension as requested.
-  (org--set-faces-extend '(org-block-begin-line org-block-end-line)
-                         org-fontify-whole-block-delimiter-line)
   (org--set-faces-extend org-level-faces org-fontify-whole-heading-line)
   (setq-local org-mode-loading nil)
 
-- 
2.39.5

Reply via email to