Fix manual entry of 'quit-restore-window' (Bug#52328)

* doc/lispref/windows.texi (Quitting Windows): Fix bug in
description of 'quit-restore-window' (Bug#52328).
This commit is contained in:
Martin Rudalics 2021-12-09 10:00:51 +01:00
parent 35a96139df
commit be860c1385

View file

@ -4262,12 +4262,12 @@ deleted unconditionally. Otherwise, the fate of the frame is
determined by calling @code{frame-auto-hide-function} (see below) with determined by calling @code{frame-auto-hide-function} (see below) with
that frame as sole argument. that frame as sole argument.
If the third element of the @code{quit-restore} parameter is a list of If the second element of the @code{quit-restore} parameter is a list
buffer, window start (@pxref{Window Start and End}), and point of a buffer, a window start (@pxref{Window Start and End}) and a
(@pxref{Window Point}), and that buffer is still live, the buffer will window point (@pxref{Window Point}), and that buffer is still live,
be displayed, and start and point set accordingly. If, in addition, the buffer will be displayed, and start and point set accordingly.
@var{window}'s buffer was temporarily resized, this function will also If, in addition, @var{window}'s buffer was temporarily resized, this
try to restore the original height of @var{window}. function will also try to restore the original height of @var{window}.
Otherwise, if @var{window} was previously used for displaying other Otherwise, if @var{window} was previously used for displaying other
buffers (@pxref{Window History}), the most recent buffer in that buffers (@pxref{Window History}), the most recent buffer in that