summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2021-05-10 13:33:32 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-05-10 13:33:32 +0200
commit779c615f333a01d11ab930b030d61545fb048f3d (patch)
tree493738307f960d58d525af7e1b825ec901dda12e /doc/lispref
parent5bedbe6b1d5f4b801abf91b4d023d5c4e66418f0 (diff)
downloademacs-779c615f333a01d11ab930b030d61545fb048f3d.tar.gz
emacs-779c615f333a01d11ab930b030d61545fb048f3d.tar.bz2
emacs-779c615f333a01d11ab930b030d61545fb048f3d.zip
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.
Diffstat (limited to 'doc/lispref')
0 files changed, 0 insertions, 0 deletions