[Top][All Lists]

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

Re: master 70341cab3e: string-equal-ignore-case: new function

From: Sam Steingold
Subject: Re: master 70341cab3e: string-equal-ignore-case: new function
Date: Tue, 26 Jul 2022 14:21:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

> * Lars Ingebrigtsen <ynefv@tahf.bet> [2022-07-26 19:58:06 +0200]:
> Sam Steingold <sds@gnu.org> writes:
>> -;; case-insensitive case, but it has to cope with null args.
>> -;; (`string-equal' uses symbol print names.)
>> -(defun gnus-string-equal (x y)
>> -  "Like `string-equal', except it compares case-insensitively."
>> -  (and (= (length x) (length y))
>> -       (or (string-equal x y)
>> -       (string-equal (downcase x) (downcase y)))))
> We don't remove non-internal functions like this (because they may be
> used by third parties).  Instead make it obsolete.

fixed, thanks.

>> -          (when (gnus-string-equal
>> +          (when (string-equal-ignore-case
>>                   (message-fetch-field "followup-to")
>>                   (message-fetch-field "newsgroups"))
> And the arguments here may be nil, which will signal an error.

I thought I checked all uses of `gnus-string-equal', sorry...

Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://mideasttruth.com https://camera.org http://think-israel.org

reply via email to

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