comparison lisp/ChangeLog @ 111018:de901820e0bc

Allow Custom settings to be migrated into a custom theme. * cus-theme.el (custom-theme--migrate-settings): New var. (customize-create-theme): Allow editing the `user' theme. (custom-theme-add-variable, custom-theme-add-var-1) (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox to the front of each variable or face widget. (custom-theme-write): Save theme settings in the correct order. Optionally, remove saved settings from user customizations. (custom-theme-write-variables, custom-theme-write-faces): Saved only the checked widgets. (customize-themes): Add a link for migrating custom settings. * custom.el (custom-declare-theme, provide-theme): Use custom-theme-name-valid-p. (custom-theme-name-valid-p): Remove checks that are now unnecessary since themes no longer obey load-path. * cus-edit.el (custom-variable-value-create): For the simple style, hide documentation string when hidden.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 16 Oct 2010 20:00:34 -0400
parents 9506df1b7b65
children a59302c4ca9e
comparison
equal deleted inserted replaced
111017:9506df1b7b65 111018:de901820e0bc
1 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2
3 * cus-theme.el (custom-theme--migrate-settings): New var.
4 (customize-create-theme): Allow editing the `user' theme.
5 (custom-theme-add-variable, custom-theme-add-var-1)
6 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
7 to the front of each variable or face widget.
8 (custom-theme-write): Save theme settings in the correct order.
9 Optionally, remove saved settings from user customizations.
10 (custom-theme-write-variables, custom-theme-write-faces): Saved
11 only the checked widgets.
12 (customize-themes): Add a link for migrating custom settings.
13
14 * custom.el (custom-declare-theme, provide-theme): Use
15 custom-theme-name-valid-p.
16 (custom-theme-name-valid-p): Remove checks that are now
17 unnecessary since themes no longer obey load-path.
18
19 * cus-edit.el (custom-variable-value-create): For the simple
20 style, hide documentation string when hidden.
21
1 2010-10-16 Chong Yidong <cyd@stupidchicken.com> 22 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2 23
3 * cus-edit.el (custom-variable, custom-face): Combine the 24 * cus-edit.el (custom-variable, custom-face): Combine the
4 :inhibit-magic and :display-style properties into a single 25 :inhibit-magic and :display-style properties into a single
5 :custom-style property. 26 :custom-style property.