diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-10-16 20:00:34 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-10-16 20:00:34 -0400 |
commit | 29a4c45b988476fe5b926891c5ddf881dd3a5584 (patch) | |
tree | 2058f492d18907e2969fcd68b6199cca22139445 /lisp/emacs-lisp/sregex.el | |
parent | 647bc5022ff4fd7ef72d0cb66d9659af252b38df (diff) | |
download | emacs-29a4c45b988476fe5b926891c5ddf881dd3a5584.tar.gz emacs-29a4c45b988476fe5b926891c5ddf881dd3a5584.tar.bz2 emacs-29a4c45b988476fe5b926891c5ddf881dd3a5584.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/sregex.el')
0 files changed, 0 insertions, 0 deletions