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 /doc/lispref | |
| 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 'doc/lispref')
| -rw-r--r-- | doc/lispref/windows.texi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 0c0c1bce3b9..e45201b0570 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -3546,14 +3546,15 @@ the top of the window. The command @code{recenter-top-bottom} offers | |||
| 3546 | a more convenient way to achieve this. | 3546 | a more convenient way to achieve this. |
| 3547 | @end deffn | 3547 | @end deffn |
| 3548 | 3548 | ||
| 3549 | @vindex recenter-group-function | 3549 | @vindex recenter-window-group-function |
| 3550 | @defun recenter-group &optional count | 3550 | @defun recenter-window-group &optional count |
| 3551 | This function is like @code{recenter}, except that when the selected | 3551 | This function is like @code{recenter}, except that when the selected |
| 3552 | window is part of a group of windows (@pxref{Window Group}), | 3552 | window is part of a group of windows (@pxref{Window Group}), |
| 3553 | @code{recenter-group} scrolls the entire group. This condition holds | 3553 | @code{recenter-window-group} scrolls the entire group. This condition |
| 3554 | when the buffer local variable @code{recenter-group-function} is set | 3554 | holds when the buffer local variable |
| 3555 | to a function. In this case, @code{recenter-group} calls the function | 3555 | @code{recenter-window-group-function} is set to a function. In this |
| 3556 | with the argument @var{count}, then returns its result. The argument | 3556 | case, @code{recenter-window-group} calls the function with the |
| 3557 | argument @var{count}, then returns its result. The argument | ||
| 3557 | @var{count} has the same meaning as in @code{recenter}, but with | 3558 | @var{count} has the same meaning as in @code{recenter}, but with |
| 3558 | respect to the entire window group. | 3559 | respect to the entire window group. |
| 3559 | @end defun | 3560 | @end defun |