]> git.eshelyaron.com Git - emacs.git/commit
Allow using list-colors-display to set colors in the Color widget.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 12 Mar 2010 23:08:30 +0000 (18:08 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 12 Mar 2010 23:08:30 +0000 (18:08 -0500)
commit6f320937a40f8905c2e72498c042423a1e7610a3
treee9c656f6141e02459c74b680089e74ce93bf91d9
parent647f999385fd315fe0fb0e8315447873656a89a5
Allow using list-colors-display to set colors in the Color widget.

* facemenu.el (list-colors-display, list-colors-print): New arg
callback.  Use it to allow selecting colors.

* wid-edit.el (widget-image-insert): Insert image prop even if the
current display is non-graphic.
(widget-field-value-set): New fun.
(editable-field): Use it.
(widget-field-value-get): Clean up unused var.
(widget-color-value-create, widget-color--choose-action): New
funs.  Allow using list-colors-display to choose color.
lisp/ChangeLog
lisp/facemenu.el
lisp/wid-edit.el