diff options
| author | Juri Linkov | 2021-07-13 22:25:05 +0300 |
|---|---|---|
| committer | Juri Linkov | 2021-07-13 22:25:05 +0300 |
| commit | 35a8861619d4a5038ff37aa9fbeb995bc9b861a7 (patch) | |
| tree | 386cea6be80d9d35df6aebd8e8403ae3caa4c826 /src/coding.h | |
| parent | b68e7a64ae624f79538d618afa8f90ae73c26b33 (diff) | |
| download | emacs-35a8861619d4a5038ff37aa9fbeb995bc9b861a7.tar.gz emacs-35a8861619d4a5038ff37aa9fbeb995bc9b861a7.zip | |
Support Isearch filter predicates with empty search hits (bug#49534)
* lisp/isearch.el (isearch-search): Move (= (match-beginning 0) (match-end 0))
and (bobp)/(eobp) outside the call to isearch-filter-predicate.
Use forward-char 1/-1 on empty matches only when going to retry search.
(isearch-lazy-highlight-search): Remove (= (point) bound),
but leave (= (match-beginning 0) (match-end 0)) since empty matches
make no sense in lazy-highlighting.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions