Special handling of the `custom-enabled-themes' custom variable.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 22 Mar 2011 00:30:23 +0000 (20:30 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 22 Mar 2011 00:30:23 +0000 (20:30 -0400)
commitfccee4ab7294f92e42ebf90786b7b301d0368e87
tree4b9ba100672a57d3dfaf43d5369f48cad79a5ef9
parent0357c7ae9cf59511c28dccd566b89b5eadc7f62e
Special handling of the `custom-enabled-themes' custom variable.

* lisp/custom.el (custom--inhibit-theme-enable): Make it affect only
custom-theme-set-variables and custom-theme-set-faces.
(provide-theme): Ignore custom--inhibit-theme-enable.
(load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
(custom-enabling-themes): Delete variable.
(enable-theme): Accept only loaded themes as arguments.  Ignore
the special custom-enabled-themes variable.
(custom-enabled-themes): Forbid themes from setting this.
Eliminate use of custom-enabling-themes.
(custom-push-theme): Quote "changed" custom var entry.
lisp/ChangeLog
lisp/custom.el