[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 7d741dba51 60/65: Take advantage of more fle
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 7d741dba51 60/65: Take advantage of more flexible boxes on Emacs 28 |
Date: |
Mon, 7 Mar 2022 12:57:49 -0500 (EST) |
branch: externals/org-modern
commit 7d741dba512e66cdc6e511974492960a3b6e0ed1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Take advantage of more flexible boxes on Emacs 28
---
org-modern.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index b366ba78ef..4db40750a6 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -54,7 +54,12 @@
((floatp line-spacing) (ceiling (*
line-spacing (frame-char-height))))
(t (/ (frame-char-height) 10))))
org-modern-label-border)))
- `(:color ,(face-attribute 'default :background nil t) :line-width ,(-
border)))))))
+ (list :color (face-attribute 'default :background nil t)
+ :line-width
+ ;; Emacs 28 supports different line horizontal and vertical
line widths
+ (if (>= emacs-major-version 28)
+ (cons 0 (- border))
+ (- border))))))))
(defcustom org-modern-label-border 'auto
"Line width used for tag label borders.
@@ -159,8 +164,6 @@ Set to nil to disable the indicator."
(defface org-modern-label
`((t ,@(and org-modern-variable-pitch '(:inherit variable-pitch))
- ,@(and (integerp org-modern-label-border)
- `(:box (:line-width ,(- org-modern-label-border))))
:height 0.9
:width condensed :weight regular
:underline nil))
@@ -266,8 +269,6 @@ Set to nil to disable the indicator."
(goto-char beg)
(while (search-forward ":" end 'noerror)
(when colon
- (when (/= beg (1- colon))
- (add-face-text-property (1- colon) colon '(:height 1) t))
(put-text-property
colon
(1+ colon)
- [elpa] externals/org-modern 008f6baa8a 27/65: Improve block font locking, (continued)
- [elpa] externals/org-modern 008f6baa8a 27/65: Improve block font locking, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern a63a427991 28/65: Fix docstring, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern d2bda1d449 29/65: Improve table editability, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern d6e8889e32 31/65: Fix indented tables, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern f0532357fe 32/65: Handle upper case block keywords, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 14637f0a5f 34/65: Fix source block indicators for source blocks with empty lines, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 6b13500969 38/65: Improve docstring, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern f45be59ff5 46/65: org-modern-keyword: Configurable replacement, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern b4d6b37eba 47/65: README: Expand on the current limitations, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 5f132cd720 54/65: Fix statistics face, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7d741dba51 60/65: Take advantage of more flexible boxes on Emacs 28,
ELPA Syncer <=
- [elpa] externals/org-modern e13be0f433 40/65: Preserve line-prefix and wrap-prefix if org-indent-mode is enabled (Fix #7), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 4f5d010a9f 42/65: Use en-dash for list bullets, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 394460be40 50/65: Document minimal setup (Fix #13), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 37bbac24a0 55/65: Increase font sizes by default (See #19), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern a15d8353ed 61/65: Fix :type, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 83ee897ac1 63/65: Update face when org-modern-variable-pitch is changed, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7bce289ac6 62/65: Improve timestamp handling, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 3baf87f80e 09/65: README: Mention manual installation, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 5278d9787c 01/65: Initial commit, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 8c4bc6a320 12/65: Ensure that todo keywords stay editable (See #2), ELPA Syncer, 2022/03/07