fix(org): org-modern: s/keyword/keywordp

Amend: 8168a03599
This commit is contained in:
simendsjo
2025-04-07 08:51:11 +02:00
committed by GitHub
parent b840f90252
commit 13500dd175

View File

@ -30,7 +30,7 @@
;; hasn't already modified them. ;; hasn't already modified them.
(letf! (defun new-spec (spec) (letf! (defun new-spec (spec)
(if (or (facep (cdr spec)) (if (or (facep (cdr spec))
(not (keyword (car-safe (cdr spec))))) (not (keywordp (car-safe (cdr spec)))))
`(:inherit ,(cdr spec)) `(:inherit ,(cdr spec))
(cdr spec))) (cdr spec)))
(unless org-modern-tag-faces (unless org-modern-tag-faces