(isearch-search-fun): Compare the length of the
authorJuri Linkov <juri@jurta.org>
Tue, 11 Nov 2008 19:43:09 +0000 (19:43 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 11 Nov 2008 19:43:09 +0000 (19:43 +0000)
commit8c740e4c10912a048e0d02aeb0b78e4579d39fb6
treee03cdbfa82e99ab6b65153422ca7223b64e8f643
parentf399e4ade9d83ba532aaa5f71f27db2760622a8a
(isearch-search-fun): Compare the length of the
current search string with the length of the string from the
previous search state to detect the situation when the user
adds or removes characters in the search string.
Use word-search-forward-lax and word-search-backward-lax in this
case, and otherwise word-search-forward and word-search-backward.
lisp/isearch.el