diff options
| author | John Shahid | 2018-07-01 14:48:24 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2018-07-07 12:07:47 +0300 |
| commit | ea2f96837d00f5475cd48fc7bf62c19d1045c055 (patch) | |
| tree | 616269023e3a2a19b92e1adfe6fdff14bbbb341c /doc | |
| parent | 42c0b8f3f27c8700f1f432649f2466aab9127061 (diff) | |
| download | emacs-ea2f96837d00f5475cd48fc7bf62c19d1045c055.tar.gz emacs-ea2f96837d00f5475cd48fc7bf62c19d1045c055.zip | |
Keep interactive uses of 'recenter' backward compatible (Bug#31325)
* window.c (Frecenter): Change the interactive spec to always pass
a non-nil value to the REDISPLAY argument when called interactively.
* window.el (recenter-top-bottom): Make sure 'recenter's second
argument is non-nil everywhere.
* windows.texi (Textual Scrolling): Update documentation of
'recenter'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/windows.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index ae6837b444f..3eaa15a6036 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -4156,7 +4156,8 @@ window. If @var{count} is @code{nil} and @var{redisplay} is | |||
| 4156 | non-@code{nil}, this function may redraw the frame, according to the | 4156 | non-@code{nil}, this function may redraw the frame, according to the |
| 4157 | value of @code{recenter-redisplay}. Thus, omitting the second | 4157 | value of @code{recenter-redisplay}. Thus, omitting the second |
| 4158 | argument can be used to countermand the effect of | 4158 | argument can be used to countermand the effect of |
| 4159 | @code{recenter-redisplay} being non-@code{nil}. | 4159 | @code{recenter-redisplay} being non-@code{nil}. Interactive calls |
| 4160 | pass non-‘nil’ for @var{redisplay}. | ||
| 4160 | 4161 | ||
| 4161 | When @code{recenter} is called interactively, @var{count} is the raw | 4162 | When @code{recenter} is called interactively, @var{count} is the raw |
| 4162 | prefix argument. Thus, typing @kbd{C-u} as the prefix sets the | 4163 | prefix argument. Thus, typing @kbd{C-u} as the prefix sets the |