[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51715: defface forms not having dynamic value
From: |
Lars Ingebrigtsen |
Subject: |
bug#51715: defface forms not having dynamic value |
Date: |
Wed, 10 Nov 2021 01:36:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
irenezerafa <irenezerafa@protonmail.com> writes:
> '( (default (:inherit rainbow-delimiters-base-face))
> ( ((class color) (background light))
> :foreground ,(nth i light-colors))
> ( ((class color) (background dark))
> :foreground ,(nth i dark-colors)) )
> ,(format "Nested delimiter face, depth %d." (1+ i))
This would be nice if possible, but I don't think it's practical. It
would mean that (in general) Emacs would have to recalculate faces
whenever a variable changes, and that would make Emacs very slow.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no