all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59779: string-equal-ignore-case's docstring is misleading
@ 2022-12-02 16:57 Nicolas Graner
  2022-12-02 17:08 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graner @ 2022-12-02 16:57 UTC (permalink / raw)
  To: 59779

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#59779: string-equal-ignore-case's docstring is misleading
  2022-12-02 16:57 bug#59779: string-equal-ignore-case's docstring is misleading Nicolas Graner
@ 2022-12-02 17:08 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-12-02 17:08 UTC (permalink / raw)
  To: Nicolas Graner; +Cc: 59779-done

> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-02 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 16:57 bug#59779: string-equal-ignore-case's docstring is misleading Nicolas Graner
2022-12-02 17:08 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.