]> git.eshelyaron.com Git - emacs.git/commit
Improvements to the Custom interface.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 12 Mar 2010 22:56:30 +0000 (17:56 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 12 Mar 2010 22:56:30 +0000 (17:56 -0500)
commit647f999385fd315fe0fb0e8315447873656a89a5
tree2a8ac44ac1121c99b862b21ecd947e9c926a56ec
parente3c5dd1188eb83922c21c414d671ff60ba2318c6
Improvements to the Custom interface.

* cus-edit.el: Resort topmost custom groups.
(custom-buffer-sort-alphabetically): Default to t.
(customize-apropos): Use apropos-parse-pattern.
(custom-search-field): New var.
(custom-buffer-create-internal): Add custom-apropos search field.
(custom-add-parent-links): Don't display parent doc.
(custom-group-value-create): Don't sort top-level custom group.
(custom-magic-value-create): Show visibility button before option
name.

(custom-variable-state): New fun, from custom-variable-state-set.
(custom-variable-state-set): Use it.
(custom-group-value-create): Hide options with standard values
using the :hidden-states property.  Use progress reporter.

(custom-show): Simplify.
(custom-visibility): Disable images by default.
(custom-variable): New property :hidden-states.
(custom-variable-value-create): Enable images for
custom-visibility widgets.  Use :hidden-states property to
determine initial visibility.

* wid-edit.el (widget-image-find): Give images center ascent.
(visibility): Add :on-image and :off-image properties.
(widget-visibility-value-create): Use them.
lisp/ChangeLog
lisp/cus-edit.el
lisp/wid-edit.el