diff options
| -rw-r--r-- | lisp/character-fold.el | 2 | ||||
| -rw-r--r-- | lisp/isearch.el | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lisp/character-fold.el b/lisp/character-fold.el index 6bbb3ec87e4..988a5065c0d 100644 --- a/lisp/character-fold.el +++ b/lisp/character-fold.el | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | ;;;###autoload | 26 | ;;;###autoload |
| 27 | (defvar character-fold-search t | 27 | (defvar character-fold-search nil |
| 28 | "Non-nil if searches should fold similar characters. | 28 | "Non-nil if searches should fold similar characters. |
| 29 | This means some characters will match entire groups of characters. | 29 | This means some characters will match entire groups of characters. |
| 30 | For instance, \" will match all variants of double quotes, and | 30 | For instance, \" will match all variants of double quotes, and |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 2d2f0ee2495..8d4bf24c6fb 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -2607,12 +2607,11 @@ Can be changed via `isearch-search-fun-function' for special needs." | |||
| 2607 | ;; Use lax versions to not fail at the end of the word while | 2607 | ;; Use lax versions to not fail at the end of the word while |
| 2608 | ;; the user adds and removes characters in the search string | 2608 | ;; the user adds and removes characters in the search string |
| 2609 | ;; (or when using nonincremental word isearch) | 2609 | ;; (or when using nonincremental word isearch) |
| 2610 | (let ((lax (or isearch-lax-whitespace | 2610 | (let ((lax (not (or isearch-nonincremental |
| 2611 | (not (or isearch-nonincremental | 2611 | (null (car isearch-cmds)) |
| 2612 | (null (car isearch-cmds)) | 2612 | (eq (length isearch-string) |
| 2613 | (eq (length isearch-string) | 2613 | (length (isearch--state-string |
| 2614 | (length (isearch--state-string | 2614 | (car isearch-cmds)))))))) |
| 2615 | (car isearch-cmds))))))))) | ||
| 2616 | (funcall | 2615 | (funcall |
| 2617 | (if isearch-forward #'re-search-forward #'re-search-backward) | 2616 | (if isearch-forward #'re-search-forward #'re-search-backward) |
| 2618 | (if (functionp isearch-word) | 2617 | (if (functionp isearch-word) |