aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-studio.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 16:25:53 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 16:25:53 -0400
commitf9e2f73aa460d1ded9a1b4e1262c777a26261207 (patch)
tree115b77adb826f836fe9725942be7059ec1682c07 /scripts/theme-studio/theme-studio.html
parentd99746b2ecd2fb6fab326fcf877c5daac9729c18 (diff)
downloaddotemacs-f9e2f73aa460d1ded9a1b4e1262c777a26261207.tar.gz
dotemacs-f9e2f73aa460d1ded9a1b4e1262c777a26261207.zip
refactor(theme-studio): unify the two condition_matches clause checkers
condition_matches encoded the same four display-condition rules twice -- once for the dict spec shape, once for the list-of-clauses shape. Normalize both to a single {key: values} mapping and run the rules once in _condition_clauses_pass. Verified byte-identical over 31 representative conditions (dict, list, scalar, and malformed). The pre-existing Pyright complaints in choose_gui_light are unrelated and untouched.
Diffstat (limited to 'scripts/theme-studio/theme-studio.html')
0 files changed, 0 insertions, 0 deletions