From: Artur Malabarba Date: Sun, 25 Oct 2015 00:52:01 +0000 (+0100) Subject: * lisp/isearch.el: Make character-fold search the default again X-Git-Tag: emacs-25.0.90~1022 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=816f78c2e8ec67a1e8c91ad2e9b0b8628e5584bf;p=emacs.git * lisp/isearch.el: Make character-fold search the default again --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 2c031aa582a..3f8ff7a2d39 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -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.