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 /lisp | |
| 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 'lisp')
| -rw-r--r-- | lisp/window.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el index 6d9d8bdcd2e..d56bed63da0 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -8767,7 +8767,7 @@ A prefix argument is handled like `recenter': | |||
| 8767 | With plain `C-u', move current line to window center." | 8767 | With plain `C-u', move current line to window center." |
| 8768 | (interactive "P") | 8768 | (interactive "P") |
| 8769 | (cond | 8769 | (cond |
| 8770 | (arg (recenter arg)) ; Always respect ARG. | 8770 | (arg (recenter arg t)) ; Always respect ARG. |
| 8771 | (t | 8771 | (t |
| 8772 | (setq recenter-last-op | 8772 | (setq recenter-last-op |
| 8773 | (if (eq this-command last-command) | 8773 | (if (eq this-command last-command) |