diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-10-09 17:54:20 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-10-09 17:54:20 -0400 |
commit | 76c16af806a31552ee2c2d774c3734e60aa7f8df (patch) | |
tree | 56e5c5e64da226071841eba3f5a5c7ecf0de4752 /doc/lispintro/lambda-3.eps | |
parent | 6513b232c86c7edf5bc1c281a8b91560093fdf4a (diff) | |
download | emacs-76c16af806a31552ee2c2d774c3734e60aa7f8df.tar.gz emacs-76c16af806a31552ee2c2d774c3734e60aa7f8df.tar.bz2 emacs-76c16af806a31552ee2c2d774c3734e60aa7f8df.zip |
Interface improvements to cus-theme.el.
* cus-edit.el (custom-face-widget-to-spec)
(custom-face-get-current-spec, custom-face-state): New functions.
(custom-face-set, custom-face-mark-to-save)
(custom-face-value-create, custom-face-state-set): Use them.
* cus-theme.el (custom-theme--listed-faces): New var.
(customize-create-theme): Use *Custom Theme* as the buffer name.
Set revert-buffer-function. Optional arg BUFFER. Insert all
faces listed in custom-theme--listed-faces.
(custom-theme-revert): New function.
(custom-theme-add-variable, custom-theme-add-face): Insert at the
bottom of the list.
(custom-theme-write): Prompt for theme name if empty.
(custom-theme-write-variables): Use dolist.
(custom-theme-write-faces): Handle hidden (collapsed) widgets.
Diffstat (limited to 'doc/lispintro/lambda-3.eps')
0 files changed, 0 insertions, 0 deletions