aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/isearch.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index b29e432f37e..05dc2931d93 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2311,15 +2311,15 @@ the bottom."
2311 (if above 2311 (if above
2312 (progn 2312 (progn
2313 (goto-char start) 2313 (goto-char start)
2314 (recenter-group 0) 2314 (recenter-window-group 0)
2315 (when (>= isearch-point (window-group-end nil t)) 2315 (when (>= isearch-point (window-group-end nil t))
2316 (goto-char isearch-point) 2316 (goto-char isearch-point)
2317 (recenter-group -1))) 2317 (recenter-window-group -1)))
2318 (goto-char end) 2318 (goto-char end)
2319 (recenter-group -1) 2319 (recenter-window-group -1)
2320 (when (< isearch-point (window-group-start)) 2320 (when (< isearch-point (window-group-start))
2321 (goto-char isearch-point) 2321 (goto-char isearch-point)
2322 (recenter-group 0)))) 2322 (recenter-window-group 0))))
2323 (goto-char isearch-point)) 2323 (goto-char isearch-point))
2324 2324
2325(defvar isearch-pre-scroll-point nil) 2325(defvar isearch-pre-scroll-point nil)