aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/isearch.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 0a6b925d03e..65f8d6fb925 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1213,6 +1213,14 @@ If MSG is non-nil, use variable `isearch-message', otherwise `isearch-string'."
1213 (length succ-msg) 1213 (length succ-msg)
1214 0)))) 1214 0))))
1215 1215
1216(defvar isearch-new-regexp-function nil
1217 "Holds the next `isearch-regexp-function' inside `with-isearch-suspended'.
1218If this is set inside code wrapped by the macro
1219`with-isearch-suspended', then the value set will be used as the
1220`isearch-regexp-function' once isearch resumes.")
1221(define-obsolete-variable-alias 'isearch-new-word
1222 'isearch-new-regexp-function "25.1")
1223
1216(defmacro with-isearch-suspended (&rest body) 1224(defmacro with-isearch-suspended (&rest body)
1217 "Exit Isearch mode, run BODY, and reinvoke the pending search. 1225 "Exit Isearch mode, run BODY, and reinvoke the pending search.
1218You can update the global isearch variables by setting new values to 1226You can update the global isearch variables by setting new values to