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

    Add eval-when-compile
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index 2944b52e58..c7182d85af 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -557,7 +557,7 @@ the font.")
        (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)
+             (if (eval-when-compile (>= emacs-major-version 28))
                  (cons 0 (- border))
                (- border)))))))
 

Reply via email to