emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-modern afa7d44282: org-modern--unfontify: Remove li


From: ELPA Syncer
Subject: [elpa] externals/org-modern afa7d44282: org-modern--unfontify: Remove line/wrap-prefix if fringe is enabled (Fix #148)
Date: Tue, 5 Sep 2023 06:58:37 -0400 (EDT)

branch: externals/org-modern
commit afa7d44282d62dbba84afec2a1a6c2a3ee41e7b9
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    org-modern--unfontify: Remove line/wrap-prefix if fringe is enabled (Fix 
#148)
---
 org-modern.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/org-modern.el b/org-modern.el
index e253451f72..71aa327d2e 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -809,10 +809,10 @@ the font.")
   "Unfontify prettified elements between BEG and END."
   (let ((font-lock-extra-managed-props
          (append
-          ;; Only remove line-prefix and wrap-prefix if org-indent-mode is 
disabled.
-          (if (bound-and-true-p org-indent-mode)
-              '(display invisible)
-            '(wrap-prefix line-prefix display invisible))
+          ;; Only remove line/wrap-prefix if block fringes are used
+          (if (and org-modern-block-fringe (not (bound-and-true-p 
org-indent-mode)))
+              '(wrap-prefix line-prefix display invisible)
+            '(display invisible))
           font-lock-extra-managed-props)))
     (org-unfontify-region beg end)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]