bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40433: 26.1; list-colors-print throw Lisp error wrong-number-of-argu


From: Stefan Kangas
Subject: bug#40433: 26.1; list-colors-print throw Lisp error wrong-number-of-arguments
Date: Thu, 1 Oct 2020 05:50:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Kangas <stefan@marxist.se> writes:

> 唐治洋 <markta31@icloud.com> writes:
>
>> hi,
>>
>> I have a color name called "alternateSelectedControlColor", which has
>> nil color value if called with color-values function. when I click the
>> Color button in customize-create-themes, it will finally call
>> list-color-print function, and this function has some lisp lines as
>> follow:
>>
>>       (let* ((opoint (point))
>>           (color-values (color-values (car color)))
>>           (light-p (>= (apply 'max color-values)
>>                        (* (car (color-values "white")) .5))))
>>
>> color-values got a nil value, which cause max function called with a nil
>> value, and then throw wrong-number-of-arguments error.
>
> What is the bug in Emacs here?  Is it the return value of color-values?
>
> Could you please show a minimal example of the error, without any
> reference to your own code?  Thanks.

More information was requested, but none was given within 5 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]