]> git.eshelyaron.com Git - emacs.git/commit
Go back to not using custom-push-theme when enabling a theme
authorMauro Aranda <maurooaranda@gmail.com>
Fri, 6 Nov 2020 12:34:08 +0000 (09:34 -0300)
committerMauro Aranda <maurooaranda@gmail.com>
Fri, 6 Nov 2020 12:34:08 +0000 (09:34 -0300)
commit527413fb2ff8c073d89ee2d22d38a67c74678b27
tree99ae1e4cddcf521f4f1b326c6e12608387e1d459
parent291955a588cd8a99e93aff3eb79e16e83c3e3e13
Go back to not using custom-push-theme when enabling a theme

* lisp/custom.el (enable-theme): Relying on custom-push-theme to
handle theme settings and prior user settings was a mistake.  The
theme settings haven't changed between loading the theme and enabling
it, so we don't need all of what custom-push-theme does.  However, we
still need to save a user setting outside of Customize, in order to be
able to get back to it, so do that in enable-theme itself.
lisp/custom.el