summaryrefslogtreecommitdiff
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."
(if above
(progn
(goto-char start)
- (recenter-group 0)
+ (recenter-window-group 0)
(when (>= isearch-point (window-group-end nil t))
(goto-char isearch-point)
- (recenter-group -1)))
+ (recenter-window-group -1)))
(goto-char end)
- (recenter-group -1)
+ (recenter-window-group -1)
(when (< isearch-point (window-group-start))
(goto-char isearch-point)
- (recenter-group 0))))
+ (recenter-window-group 0))))
(goto-char isearch-point))
(defvar isearch-pre-scroll-point nil)