Add sort option `list-colors-sort'. (Bug#6332)
commitf0bf7c8e5525fb4f964530c17399c3c987a79927
authorJuri Linkov <juri@jurta.org>
Mon, 14 Jun 2010 16:03:04 +0000 (14 19:03 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 14 Jun 2010 16:03:04 +0000 (14 19:03 +0300)
tree2f55e221c7ddd0268d6541b5b4ee318c8a372b51
parentc42fe9a55d2356f509ea38e6de6fcec95fd6ac63
Add sort option `list-colors-sort'.  (Bug#6332)
* lisp/facemenu.el (color-rgb-to-hsv): New function.
(list-colors-sort): New defcustom.
(list-colors-sort-key): New function.
(list-colors-display): Doc fix.  Sort list according to the option
`list-colors-sort'.
(list-colors-print): Add HSV values to `help-echo' property of
RGB strings.
etc/NEWS
lisp/ChangeLog
lisp/facemenu.el