@code{recenter} puts the line containing point in the middle of the
window. If @var{count} is @code{nil} and @var{redisplay} is
non-@code{nil}, this function may redraw the frame, according to the
-value of @code{recenter-redisplay}.
+value of @code{recenter-redisplay}. Thus, omitting the second
+argument can be used to countermand the effect of
+@code{recenter-redisplay} being non-@code{nil}.
When @code{recenter} is called interactively, @var{count} is the raw
prefix argument. Thus, typing @kbd{C-u} as the prefix sets the
* Lisp Changes in Emacs 27.1
+++
-** The function 'recenter' accepts an additional optional argument.
-If the optional second argument is nil, recenter will not redisplay
-the frame regardless of the value of 'recenter-redisplay'.
+** The function 'recenter' now accepts an additional optional argument.
+By default, calling 'recenter' will not redraw the frame even if
+'recenter-redisplay' is non-nil. Call 'recenter' with the new second
+argument non-nil to force redisplay per 'recenter-redisplay's value.
+++
** New functions 'major-mode-suspend' and 'major-mode-restore'.
{
char_attr_normal = XFASTINT (foreground) + (XFASTINT (background) << 4);
- Frecenter (Qnil);
+ Frecenter (Qnil, Qt);
return Qt;
}