[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 7a1e15c9b2 3/3: Add missing check
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 7a1e15c9b2 3/3: Add missing check |
Date: |
Mon, 12 Sep 2022 15:57:52 -0400 (EDT) |
branch: externals/org-modern
commit 7a1e15c9b2097400d603c9ad7e3104d8afde8a7d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add missing check
---
org-modern.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/org-modern.el b/org-modern.el
index a2127a8ea3..1735c41d4b 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -553,7 +553,8 @@ You can specify a font `:family'. The font families
`Iosevka', `Hack' and
(cond
(org-modern-mode
(add-hook 'pre-redisplay-functions #'org-modern--pre-redisplay nil 'local)
- (when (and (fboundp 'fringe-bitmap-p)
+ (when (and org-modern-block-fringe
+ (fboundp 'fringe-bitmap-p)
(not (fringe-bitmap-p 'org-modern--block-inner)))
(let* ((g (ceiling (frame-char-height) 1.8))
(h (- (default-line-height) g)))