More face customization cleanups.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 9 Oct 2010 03:23:38 +0000 (23:23 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 9 Oct 2010 03:23:38 +0000 (23:23 -0400)
commit587faadd0c89d5baa58612bc011785a4b5fed8df
treea1f88a894dda76933739da218279853b89f23b2f
parent85d50db7e43f64e9b88ef6c9580e425443bf7251
More face customization cleanups.

* cus-edit.el (custom-commands, custom-buffer-create-internal)
(custom-magic-value-create): Pad button tags with spaces.
(custom-face-edit): New variable.
(custom-face-value-create): Determine whether to use the usual
face editor here, instead of using custom-face-selected.  Pass
face defaults to custom-face-edit widget.
(custom-face-selected, custom-display-unselected): Delete widgets.
(custom-display-unselected-match): Function removed.
(custom-face-set, custom-face-mark-to-save): Accept
custom-face-edit widgets as the direct widget child.

* wid-edit.el (widget--completing-widget): New var.
(widget-default-complete): Bind it when doing completion.
(widget-string-complete, widget-file-complete): Use it.
lisp/ChangeLog
lisp/cus-edit.el
lisp/wid-edit.el