summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index e8bcf7679ae..972fb0058d3 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2495,6 +2495,7 @@ Can be changed via `isearch-search-fun-function' for special needs."
;; the user adds and removes characters in the search string
;; (or when using nonincremental word isearch)
(let ((lax (not (or isearch-nonincremental
+ (null (car isearch-cmds))
(eq (length isearch-string)
(length (isearch--state-string
(car isearch-cmds))))))))