* lisp/isearch.el: Support lax-whitespace in regexp-function searches
(isearch-search-fun-default): Let-bind `search-spaces-regexp' around `isearch-regexp-function'.
This commit is contained in:
parent
ab65b33f8c
commit
19fada58e2
1 changed files with 3 additions and 1 deletions
|
@ -2621,7 +2621,9 @@ Can be changed via `isearch-search-fun-function' for special needs."
|
|||
(null (car isearch-cmds))
|
||||
(eq (length isearch-string)
|
||||
(length (isearch--state-string
|
||||
(car isearch-cmds))))))))
|
||||
(car isearch-cmds)))))))
|
||||
(search-spaces-regexp (when isearch-lax-whitespace
|
||||
search-whitespace-regexp)))
|
||||
(funcall
|
||||
(if isearch-forward #'re-search-forward #'re-search-backward)
|
||||
(if (functionp isearch-regexp-function)
|
||||
|
|
Loading…
Add table
Reference in a new issue