emacs/test/lisp/custom-resources
Mauro Aranda 779c615f33 Avoid saving session customizations in the custom-file
* lisp/custom.el (custom-theme-recalc-variable): Only stash theme
settings for void variables.
(custom-declare-variable): After initializing a variable, unstash a
theme setting, if present.
(disable-theme): When disabling a theme, maybe unstash a theme
setting.

* test/lisp/custom-resources/custom--test-theme.el: Add two settings
for testing the fix.
2021-05-10 13:33:32 +02:00
..
custom--test-theme.el Avoid saving session customizations in the custom-file 2021-05-10 13:33:32 +02:00