1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00

(isearch-search-fun): Use word-search-forward-lax and

word-search-backward-lax for incremental word search.
This commit is contained in:
Chong Yidong 2008-09-25 17:06:22 +00:00
parent acfa99ee68
commit 60b1872223

View File

@ -2167,7 +2167,7 @@ Can be changed via `isearch-search-fun-function' for special needs."
(funcall isearch-search-fun-function)
(cond
(isearch-word
(if isearch-forward 'word-search-forward 'word-search-backward))
(if isearch-forward 'word-search-forward-lax 'word-search-backward-lax))
(isearch-regexp
(if isearch-forward 're-search-forward 're-search-backward))
(t