]> git.eshelyaron.com Git - emacs.git/commit
More cleanups and minor fixes for Customize.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 11 Oct 2010 04:49:59 +0000 (00:49 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 11 Oct 2010 04:49:59 +0000 (00:49 -0400)
commit05d22d02175330f9a9899d5daa431b1fdaf28470
treeb1cf3b77165eb9c54e028b44eb96466ab6210c6f
parentdf187c6252439abcc958bbeb507344d6781b46e7
More cleanups and minor fixes for Customize.

* cus-edit.el (custom-face-edit-fix-value): Use
custom-fix-face-spec.

* custom.el (custom-push-theme): Cleanup (use cond).
(disable-theme): Recompute the saved-face property.
(custom-theme-recalc-face): Follow face alias before setting prop.

* custom.el (custom-fix-face-spec): New function; code moved from
custom-face-edit-fix-value.
(custom-push-theme): Use it when checking if a face has been
changed outside customize.
(custom-available-themes): New function.
(load-theme): Use it.

* image.el (image-checkbox-checked, image-checkbox-unchecked): New
variables, containing checkbox images.

* startup.el (fancy-startup-tail):
* wid-edit.el (checkbox): Use them.
lisp/ChangeLog
lisp/cus-edit.el
lisp/custom.el
lisp/image.el
lisp/startup.el
lisp/wid-edit.el