Subject: bug#48317: 27.1; text-property-search-forward moves point to end when not found

From: Eli Zaretskii <[email-masked]>
Date: Sun, 09 May 2021 20:07:51 +0300

> From: Howard Melman <[email-masked]>
> Date: Sun, 9 May 2021 12:41:17 -0400
> 
> 
> The documentation of function text-property-search-forward says:
> 
>     If not found, return nil and don’t move point.
> 
> Yet I find it moves point to eob.
> 
> To reproduce in emacs -Q, with point at beginning of *scratch* buffer with
> text in it, eval:
> 
> (require 'text-property-search)
> (text-property-search-forward 'facet 'foo)
> 
> point is moved to end of buffer.

How do you know it "didn't find" in this case? what was the value it
returned?