Lars Ingebrigtsen writes: > Perhaps a simpler solution would to just be to use > `save-restriction'+`narrow-to-region' first and then don't use an END in > the search? That makes a lot of sense, thanks; new patch attached.