aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/isearch.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 1718096957e..6ef4f72db2f 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -234,9 +234,9 @@ If t, default to regexp searches (as if typing `\\[isearch-toggle-regexp]' durin
234isearch). 234isearch).
235 235
236If a function, use that function as an `isearch-regexp-function'. 236If a function, use that function as an `isearch-regexp-function'.
237Example functions are `word-search-regexp' \(`\\[isearch-toggle-word]'), 237Example functions (and the keys to toggle them during isearch)
238`isearch-symbol-regexp' \(`\\[isearch-toggle-symbol]'), and 238are `word-search-regexp' \(`\\[isearch-toggle-word]'), `isearch-symbol-regexp'
239`character-fold-to-regexp' \(`\\[isearch-toggle-character-fold]')." 239\(`\\[isearch-toggle-symbol]'), and `character-fold-to-regexp' \(`\\[isearch-toggle-character-fold]')."
240 ;; :type is set below by `isearch-define-mode-toggle'. 240 ;; :type is set below by `isearch-define-mode-toggle'.
241 :type '(choice (const :tag "Literal search" nil) 241 :type '(choice (const :tag "Literal search" nil)
242 (const :tag "Regexp search" t) 242 (const :tag "Regexp search" t)
@@ -558,7 +558,11 @@ If the value is a function (e.g. `isearch-symbol-regexp'), it is
558called to convert a plain search string to a regexp used by 558called to convert a plain search string to a regexp used by
559regexp search functions. 559regexp search functions.
560The symbol property `isearch-message-prefix' put on this function 560The symbol property `isearch-message-prefix' put on this function
561specifies the prefix string displayed in the search message.") 561specifies the prefix string displayed in the search message.
562
563This variable is set and changed during isearch. To change the
564default behaviour used for searches, see `search-default-mode'
565instead.")
562;; We still support setting this to t for backwards compatibility. 566;; We still support setting this to t for backwards compatibility.
563(define-obsolete-variable-alias 'isearch-word 567(define-obsolete-variable-alias 'isearch-word
564 'isearch-regexp-function "25.1") 568 'isearch-regexp-function "25.1")