]> git.eshelyaron.com Git - emacs.git/commit
* lisp/isearch.el (search-within-boundaries): Optimize (bug#78520).
authorJuri Linkov <juri@linkov.net>
Wed, 28 May 2025 17:15:21 +0000 (20:15 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:53:02 +0000 (21:53 +0200)
commit1631735f2738ee7bdf751c92b462d976a7119f99
tree82660ef444dcb1ce9000483ffd0a3c061a928733
parent97802d8460ddde2bcf8f21296fc8ae979da40e6c
* lisp/isearch.el (search-within-boundaries): Optimize (bug#78520).

For non-subregexp case, search for the first match and continue
from its position.  This avoids unnecessary scan for all text properties
until the first match.  When nothing is found, skip the entire body.

(cherry picked from commit 295f73d23d337593959ec7d73ecbcfa61a732f0f)
lisp/isearch.el