Tweak how 'org-date' uses optional fixed-pitch

No need to use a condition when 'modus-themes-fixed-pitch' does that
already.

This is relevant when 'modus-themes-mixed-fonts' is non-nil.
This commit is contained in:
Manuel Giraud 2022-05-20 06:41:32 +03:00 committed by Protesilaos Stavrou
parent 04a70d256e
commit aadf1788b7
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -6457,9 +6457,7 @@ by virtue of calling either of `modus-themes-load-operandi' and
:background ,bg-alt)))
`(org-column-title ((,class :inherit (bold modus-themes-fixed-pitch default)
:underline t :background ,bg-alt)))
`(org-date ((,class :inherit ,(if modus-themes-mixed-fonts
'(fixed-pitch modus-themes-link-symlink)
'modus-themes-link-symlink))))
`(org-date ((,class :inherit (modus-themes-link-symlink modus-themes-fixed-pitch))))
`(org-date-selected ((,class :foreground ,blue-alt :inverse-video t)))
`(org-dispatcher-highlight ((,class :inherit (bold modus-themes-mark-alt))))
`(org-document-info ((,class :foreground ,fg-special-cold)))