emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-modern bf2cec740d 2/2: Use static-if


From: ELPA Syncer
Subject: [elpa] externals/org-modern bf2cec740d 2/2: Use static-if
Date: Mon, 8 Jul 2024 18:59:32 -0400 (EDT)

branch: externals/org-modern
commit bf2cec740dcf41fe8b4cc1ecc537c4fc4c7e9403
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use static-if
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index 8bdbb60976..5a541dc949 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -681,7 +681,7 @@ whole buffer; otherwise, for the line at point."
        (list :color (face-attribute 'default :background nil t)
              :line-width
              ;; Emacs 28 supports different line horizontal and vertical line 
widths
-             (if (eval-when-compile (>= emacs-major-version 28))
+             (static-if (>= emacs-major-version 28)
                  (cons -1 (- border))
                (- border)))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]