]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/isearch.el: Make character-fold search the default again
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 25 Oct 2015 00:52:01 +0000 (01:52 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 25 Oct 2015 01:11:59 +0000 (01:11 +0000)
lisp/isearch.el

index 2c031aa582a09640f59ec2f0119c5f1e66f222a6..3f8ff7a2d39b0d010348f5fc63a329c49835d56b 100644 (file)
@@ -220,7 +220,9 @@ It is nil if none yet.")
 Default value, nil, means edit the string instead."
   :type 'boolean)
 
-(defcustom search-default-regexp-mode nil
+(autoload 'character-fold-to-regexp "character-fold")
+
+(defcustom search-default-regexp-mode #'character-fold-to-regexp
   "Default mode to use when starting isearch.
 Value is nil, t, or a function.
 
@@ -842,8 +844,6 @@ See the command `isearch-forward-symbol' for more information."
 ;;                          isearch-forward-regexp isearch-backward-regexp)
 ;;  "List of commands for which isearch-mode does not recursive-edit.")
 
-(autoload 'character-fold-to-regexp "character-fold")
-
 (defun isearch-mode (forward &optional regexp op-fun recursive-edit regexp-function)
   "Start Isearch minor mode.
 It is called by the function `isearch-forward' and other related functions.