diff options
| author | Alan Mackenzie | 2015-12-18 10:40:49 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2015-12-18 10:40:49 +0000 |
| commit | a72a9fbbbc9cd5f5933719b11489c2578eb0aa59 (patch) | |
| tree | 712012bc365d0f5df98822319ae86fa26f5ba6f3 /lisp/isearch.el | |
| parent | f3f0d12cafb89b68bb5ccee0c6e2ced80d204336 (diff) | |
| download | emacs-scratch/follow.tar.gz emacs-scratch/follow.zip | |
Rename `recenter-group' to `recenter-window-group'scratch/follow
* doc/lispref/windows.texi (Textual Scrolling)
* lisp/window.el (top level, recenter-group)
* lisp/follow.el (follow-mode)
* lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
`recenter-window-group' and `recenter-group-function' to
`recenter-window-group-function'.
Diffstat (limited to 'lisp/isearch.el')
| -rw-r--r-- | lisp/isearch.el | 8 |
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) |