Closed JoshTRN closed 3 months ago
I renamed the static-if
to just if
and everything seems to be working fine. Does anyone know what happened to the static-if
function?
(defun org-modern--update-label-face ()
"Update border of the `org-modern-label' face."
(set-face-attribute
'org-modern-label nil
:box
(when org-modern-label-border
(let ((border (if (eq org-modern-label-border 'auto)
(max 2 (cond
((integerp line-spacing)
line-spacing)
((floatp line-spacing)
(ceiling (* line-spacing (frame-char-height))))
(t (/ (frame-char-height) 10))))
org-modern-label-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) ;; Changed this line
(cons -1 (- border))
(- border)))))))
org-modern has been giving me this error lately:
I'm not sure if it's because of some conflicting packages exactly or what. I'm on Emacs 30. Any guidance would be much appreciated.
Thank you.