[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20411: 24.3; Docstring of `next-single-property-change'
From: |
Eli Zaretskii |
Subject: |
bug#20411: 24.3; Docstring of `next-single-property-change' |
Date: |
Thu, 23 Apr 2015 18:31:58 +0300 |
> From: Eli Barzilay <eli@barzilay.org>
> Date: Thu, 23 Apr 2015 10:08:01 -0400
>
> The documentation for `next-single-property-change' has:
>
> Return nil if the property is constant all the way to the end of
> object. If the value is non-nil, it is a position greater than
> position, never equal.
>
> Both of these are wrong when a bound is given.
Which is why the doc string says, right after the text you cited:
If the optional fourth argument LIMIT is non-nil, don't search
past position LIMIT; return LIMIT if nothing is found before LIMIT.
Isn't this exactly what you were looking for?