]> git.eshelyaron.com Git - emacs.git/commitdiff
* isearch.el (isearch-search-fun-default): Revert a5bdb87
authorArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 19 Aug 2015 10:43:29 +0000 (11:43 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 19 Aug 2015 10:45:49 +0000 (11:45 +0100)
Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
clause of `isearch-search-fun-default'. That lax variable does not
refer to lax-whitespacing.  Related to (bug#21777).
This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.

* character-fold.el (character-fold-search): Set to nil
Default to nil for now, until someone implements proper
lax-whitespacing with char-fold searching.

lisp/character-fold.el
lisp/isearch.el

index 6bbb3ec87e42dec4237526313325de94ab248baf..988a5065c0d64ab477e51c2810b4a270b7e9daa9 100644 (file)
@@ -24,7 +24,7 @@
 
 \f
 ;;;###autoload
-(defvar character-fold-search t
+(defvar character-fold-search nil
   "Non-nil if searches should fold similar characters.
 This means some characters will match entire groups of characters.
 For instance, \" will match all variants of double quotes, and
index 2d2f0ee2495bea5a8fdccccc0ce59e6ac14695cb..8d4bf24c6fb719a0881aa4e30fd8e4b25a1c023d 100644 (file)
@@ -2607,12 +2607,11 @@ Can be changed via `isearch-search-fun-function' for special needs."
       ;; Use lax versions to not fail at the end of the word while
       ;; the user adds and removes characters in the search string
       ;; (or when using nonincremental word isearch)
-      (let ((lax (or isearch-lax-whitespace
-                     (not (or isearch-nonincremental
-                              (null (car isearch-cmds))
-                              (eq (length isearch-string)
-                                  (length (isearch--state-string
-                                           (car isearch-cmds)))))))))
+      (let ((lax (not (or isearch-nonincremental
+                         (null (car isearch-cmds))
+                         (eq (length isearch-string)
+                             (length (isearch--state-string
+                                       (car isearch-cmds))))))))
        (funcall
         (if isearch-forward #'re-search-forward #'re-search-backward)
         (if (functionp isearch-word)