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

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

Re: Emacs 30.0 warning from `cl-pushnew' and `memql'


From: Emanuel Berg
Subject: Re: Emacs 30.0 warning from `cl-pushnew' and `memql'
Date: Wed, 28 Dec 2022 13:44:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

tomas wrote:

>> This does not render the warning
>> 
>>   (cl-pushnew "/usr/share/emacs/site-lisp/elpa-src/slime-2.26.1"
>>               load-path
>>               :test #'string=)
>> 
>> but this is not a model I can endorse, this is why you have that
>> level of abstraction to begin with, i.e., not to be bothered all
>> the time with implementation details.
>
> I don't understand you. That function is most useful if you can
> pass it a custom comparison function. I'd say it's fine as it is.

It's a useful thing to be able to do to but it could default to
a comparison function that works for the data type of the submitted
argument, in this case `string=' for the string.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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