[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 7c6b7048e9 57/65: Add org-modern-variable-pi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 7c6b7048e9 57/65: Add org-modern-variable-pitch option (Fix #21) |
Date: |
Mon, 7 Mar 2022 12:57:48 -0500 (EST) |
branch: externals/org-modern
commit 7c6b7048e99573452944d4541e43f9dd57a61f46
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add org-modern-variable-pitch option (Fix #21)
---
org-modern.el | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index 0e7cc74288..ab87778476 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -147,6 +147,10 @@ If set to a string, e.g., \"‣\", the string is used as
replacement for #+."
Set to nil to disable the indicator."
:type '(choice (const nil) (vector string)))
+(defcustom org-modern-variable-pitch t
+ "Prefer variable pitch for modern style."
+ :type 'boolean)
+
(defgroup org-modern-faces nil
"Faces used by `org-modern'."
:group 'org-modern
@@ -154,12 +158,12 @@ Set to nil to disable the indicator."
:group 'faces)
(defface org-modern-label
- `((t :height 0.9
- :inherit variable-pitch
- :width condensed :weight regular
- :underline nil
+ `((t ,@(and org-modern-variable-pitch '(:inherit variable-pitch))
,@(and (integerp org-modern-label-border)
- `(:box (:line-width ,(- org-modern-label-border))))))
+ `(:box (:line-width ,(- org-modern-label-border))))
+ :height 0.9
+ :width condensed :weight regular
+ :underline nil))
"Parent face for labels.")
(defface org-modern-block-keyword
- [elpa] externals/org-modern dd7d45878f 41/65: Do not add fringes to blocks when org-indent-mode is enabled (See #7), (continued)
- [elpa] externals/org-modern dd7d45878f 41/65: Do not add fringes to blocks when org-indent-mode is enabled (See #7), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern fdb7b59682 39/65: README: Package is available on MELPA, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 18787dfa38 44/65: Improve date regexp, recognize international dates (Fix #8), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 6fc453d10b 45/65: Recognize time stamps with duration (Fix #9), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern f57b733806 48/65: Do not use invisible text properties, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 718bd89e2f 43/65: Use en-dash for checkbox composed character, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 074b7e5b51 49/65: README updates, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 9974bcb675 52/65: Typo README, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 91e113ff4f 51/65: Revert "Do not use invisible text properties" (Fix #16), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern fc7794ae0b 53/65: README: Recommend org-auto-align-tags=nil, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7c6b7048e9 57/65: Add org-modern-variable-pitch option (Fix #21),
ELPA Syncer <=
- [elpa] externals/org-modern ab19a33a26 56/65: Display priorities in similar style as TODO/DONE states (Fix #12), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern ef4a16a06c 58/65: Time stamps: Improve coloring of dates with repeater (Fix #22), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 10a42c6740 59/65: Handle date ranges, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern f9be17a631 64/65: Version 0.2, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 6fadad5cdf 65/65: Change copyright, ELPA Syncer, 2022/03/07