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

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

bug#59779: closed (string-equal-ignore-case's docstring is misleading)


From: GNU bug Tracking System
Subject: bug#59779: closed (string-equal-ignore-case's docstring is misleading)
Date: Fri, 02 Dec 2022 17:10:02 +0000

Your message dated Fri, 02 Dec 2022 19:08:54 +0200
with message-id <83359xg2c9.fsf@gnu.org>
and subject line Re: bug#59779: string-equal-ignore-case's docstring is 
misleading
has caused the debbugs.gnu.org bug report #59779,
regarding string-equal-ignore-case's docstring is misleading
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59779: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59779
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: string-equal-ignore-case's docstring is misleading Date: Fri, 02 Dec 2022 17:57:15 +0100
The docstring for string-equal-ignore-case reads:
  Like ‘string-equal’, but case-insensitive.

However, string-equal accepts symbols and strings as arguments, while
string-equal-ignore-case accepts only strings. This can be confusing to
people familiar with string-equal.

Either string-equal-ignore-case should be made to accept symbols as
arguments, or the doc should be clarified.

Nicolas



--- End Message ---
--- Begin Message --- Subject: Re: bug#59779: string-equal-ignore-case's docstring is misleading Date: Fri, 02 Dec 2022 19:08:54 +0200
> From: Nicolas Graner <nicolas@graner.name>
> Date: Fri, 02 Dec 2022 17:57:15 +0100
> 
> The docstring for string-equal-ignore-case reads:
>   Like ‘string-equal’, but case-insensitive.
> 
> However, string-equal accepts symbols and strings as arguments, while
> string-equal-ignore-case accepts only strings. This can be confusing to
> people familiar with string-equal.
> 
> Either string-equal-ignore-case should be made to accept symbols as
> arguments, or the doc should be clarified.

I fixed the documentation, thanks.


--- End Message ---

reply via email to

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