merge 22589 25562
thanks
> emacs -Q
> M-<
> M-s w
> it
>
> see that the "it" of "visit" is matched, and should not be. Subsequent
> C-s fix this.
Thanks for the report. Please see the rationale for this behavior in
https://debbugs.gnu.org/22589
Do you think the proposed change suits your case?