[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: compare-strings
From: |
David Kastrup |
Subject: |
Re: Issue: compare-strings |
Date: |
Wed, 23 Dec 2009 10:08:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> It's quite clear from the Emacs implementation that the behavior is
> intentional:
>
> end1_char = SCHARS (str1);
> if (! NILP (end1) && end1_char > XINT (end1))
> end1_char = XINT (end1);
>
> end2_char = SCHARS (str2);
> if (! NILP (end2) && end2_char > XINT (end2))
> end2_char = XINT (end2);
>
> According to "cvs annotate", this code did not change since April
> 1998, when this function was introduced.
Perhaps mention this facet in the DOC string so that people may make use
of that convenience?
--
David Kastrup