Mercurial > emacs
comparison lisp/ChangeLog @ 110896:0d6d71f9b91a
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 09 Oct 2010 17:54:20 -0400 |
parents | fb9b207b7488 |
children | beddb591d182 |
comparison
equal
deleted
inserted
replaced
110895:b803c876a460 | 110896:0d6d71f9b91a |
---|---|
1 2010-10-09 Chong Yidong <cyd@stupidchicken.com> | |
2 | |
3 * cus-edit.el (custom-face-widget-to-spec) | |
4 (custom-face-get-current-spec, custom-face-state): New functions. | |
5 (custom-face-set, custom-face-mark-to-save) | |
6 (custom-face-value-create, custom-face-state-set): Use them. | |
7 | |
8 * cus-theme.el (custom-theme--listed-faces): New var. | |
9 (customize-create-theme): Use *Custom Theme* as the buffer name. | |
10 Set revert-buffer-function. Optional arg BUFFER. Insert all | |
11 faces listed in custom-theme--listed-faces. | |
12 (custom-theme-revert): New function. | |
13 (custom-theme-add-variable, custom-theme-add-face): Insert at the | |
14 bottom of the list. | |
15 (custom-theme-write): Prompt for theme name if empty. | |
16 (custom-theme-write-variables): Use dolist. | |
17 (custom-theme-write-faces): Handle hidden (collapsed) widgets. | |
18 | |
1 2010-10-09 Alan Mackenzie <acm@muc.de> | 19 2010-10-09 Alan Mackenzie <acm@muc.de> |
2 | 20 |
3 Enhance fontification of declarators to take account of the | 21 Enhance fontification of declarators to take account of the |
4 presence/absence of "typedef". | 22 presence/absence of "typedef". |
5 | 23 |