[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 4071382aa0 03/65: Restore line spacing (Fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 4071382aa0 03/65: Restore line spacing (Fix #1) |
Date: |
Mon, 7 Mar 2022 12:57:44 -0500 (EST) |
branch: externals/org-modern
commit 4071382aa09d5a1484e8be69a2a485e445ef70e7
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Restore line spacing (Fix #1)
---
org-modern.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/org-modern.el b/org-modern.el
index f2fa4d2efd..50905de28c 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -204,6 +204,9 @@ Set to nil to disable the progress bar."
(defvar-local org-modern--keywords nil
"List of font lock keywords.")
+(defvar-local org-modern--orig-line-spacing 'unset
+ "Original line spacing.")
+
(defun org-modern--priority ()
"Prettify headline priorities using the `org-modern-priority' character."
(let ((beg (match-beginning 1))
@@ -368,6 +371,9 @@ Set to nil to disable the progress bar."
"Modern looks for Org."
:global nil
:group 'org-modern
+ (unless (eq org-modern--orig-line-spacing 'unset)
+ (setq line-spacing org-modern--orig-line-spacing
+ org-modern--orig-line-spacing 'unset))
(cond
(org-modern-mode
(when-let (width (plist-get (face-attribute 'org-modern-label :box)
:line-width))
@@ -375,6 +381,7 @@ Set to nil to disable the progress bar."
'org-modern-label nil
:box `(:color ,(face-attribute 'default :background nil t) :line-width
,width)))
(setq
+ org-modern--orig-line-spacing line-spacing
line-spacing org-modern-line-spacing
org-modern--keywords
(append
- [elpa] branch externals/org-modern created (now 6fadad5cdf), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7c756db91b 06/65: Simplify faces using default specification, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 3640955abc 05/65: Use adjusted date and time faces, see #1, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern a91b994721 11/65: Ensure that time stamps stay editable (Fix #2), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 6b1a560776 04/65: example: Add hrule, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 4071382aa0 03/65: Restore line spacing (Fix #1),
ELPA Syncer <=
- [elpa] externals/org-modern 2478748a91 02/65: Update README, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern b66f3ff985 08/65: README: Note that the package is still early in its development., ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern ff1160a03c 07/65: org-modern-label: Fix line-spacing handling, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern d28951932a 13/65: Ensure that tags stay editable (See #2), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern be679b3a79 14/65: Improve cursor placement on TODO keywords, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern a84994dc77 15/65: Improve cursor placement on timestamps (See #2), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern b17d32c576 16/65: README rewording, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 6b925b71ee 19/65: Add org-modern-label-border, do not overwrite line-spacing, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7ceca7a3cc 20/65: More beautiful checkboxes, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 58252d0955 21/65: Fix typo (Fix #4), ELPA Syncer, 2022/03/07