|
From: | Eli Zaretskii |
Subject: | bug#45829: 28.0.50; Some tweaks to the color widget, from wid-edit+.el |
Date: | Sat, 16 Jan 2021 09:09:25 +0200 |
> From: "Basil L. Contovounesios" <contovob@tcd.ie> > Date: Fri, 15 Jan 2021 22:22:38 +0000 > Cc: 45829@debbugs.gnu.org > > > (define-widget 'color 'editable-field > > "Choose a color name (with sample)." > > :format "%{%t%}: %v (%{sample%})\n" > > :value-create 'widget-color-value-create > > - :size 10 > > + :size (1+ (apply #'max (mapcar #'length (defined-colors)))) > > Is defined-colors guaranteed to return non-nil? Not according to its doc string.
[Prev in Thread] | Current Thread | [Next in Thread] |