[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern c266bdf934 1/6: Seperate block fringes into
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern c266bdf934 1/6: Seperate block fringes into own customisation |
Date: |
Wed, 31 Aug 2022 03:57:57 -0400 (EDT) |
branch: externals/org-modern
commit c266bdf934f6450e20c2797e2851c820e15be55e
Author: TEC <tec@tecosaur.com>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Seperate block fringes into own customisation
---
org-modern.el | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index de28061e98..5138302347 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -166,6 +166,10 @@ and faces in the cdr. Example:
"Prettify blocks, wrapped by #+begin and #+end keywords."
:type 'boolean)
+(defcustom org-modern-block-fringe t
+ "Add a bitmap fringe to blocks."
+ :type 'boolean)
+
(defcustom org-modern-keyword t
"Prettify keywords like #+title.
If set to t, the prefix #+ will be hidden.
@@ -573,10 +577,11 @@ You can specify a font `:family'. The font families
`Iosevka', `Hack' and
org-modern-horizontal-rule)))))
(when org-modern-table
'(("^[ \t]*\\(|.*|\\)[ \t]*$" (0 (org-modern--table)))))
- (when org-modern-block
+ (when org-modern-block-fringe
'(("^[ \t]*#\\+\\(?:begin\\|BEGIN\\)_\\S-"
- (0 (org-modern--block-fringe)))
- ("^\\([ \t]*#\\+\\(?:begin\\|BEGIN\\)_\\)\\(\\S-+\\)"
+ (0 (org-modern--block-fringe)))))
+ (when org-modern-block
+ '(("^\\([ \t]*#\\+\\(?:begin\\|BEGIN\\)_\\)\\(\\S-+\\)"
(1 '(face nil display (space :width (3))))
(2 'org-modern-block-keyword append))
("^\\([ \t]*#\\+\\(?:end\\|END\\)_\\)\\(\\S-+\\)"
- [elpa] externals/org-modern updated (23347906b8 -> 537e6b75e3), ELPA Syncer, 2022/08/31
- [elpa] externals/org-modern c266bdf934 1/6: Seperate block fringes into own customisation,
ELPA Syncer <=
- [elpa] externals/org-modern 6a152c02be 3/6: Hide some block indentation if fringe is enabled, ELPA Syncer, 2022/08/31
- [elpa] externals/org-modern 8ebcf5ad93 5/6: Sometimes re-add small space before block fringes, ELPA Syncer, 2022/08/31
- [elpa] externals/org-modern 27682750d1 4/6: Convert block name to lowercase before lookup, ELPA Syncer, 2022/08/31
- [elpa] externals/org-modern 537e6b75e3 6/6: Simplification, ELPA Syncer, 2022/08/31
- [elpa] externals/org-modern de53b5563d 2/6: Support per-block replacements, ELPA Syncer, 2022/08/31