]> git.eshelyaron.com Git - emacs.git/commit
Tweaks to the color widget (Bug#45829)
authorDrew Adams <drew.adams@oracle.com>
Tue, 19 Jan 2021 12:11:18 +0000 (09:11 -0300)
committerMauro Aranda <maurooaranda@gmail.com>
Tue, 19 Jan 2021 12:11:18 +0000 (09:11 -0300)
commitba0cf1d7017894ff9e539cba83881865b3a025a1
treebb014ab2d4de5f7f1829ab5d11940dfd7d633c9b
parentb62a1e358befe996a4e2f4038ef48a9dd44901f8
Tweaks to the color widget (Bug#45829)

* lisp/wid-edit.el (widget-color-match, widget-color-validate): New
functions.
(color): Use the new functions.  Base size on longest defined color
name, defaulting to the longest RGB hex string.
lisp/wid-edit.el