From: Martin Rudalics Date: Thu, 9 Dec 2021 09:00:51 +0000 (+0100) Subject: Fix manual entry of 'quit-restore-window' (Bug#52328) X-Git-Tag: emacs-28.0.91~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be860c1385;p=emacs.git 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). --- diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index a3a37bc60d2..54a5bce96c1 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -4262,12 +4262,12 @@ deleted unconditionally. Otherwise, the fate of the frame is determined by calling @code{frame-auto-hide-function} (see below) with that frame as sole argument. -If the third element of the @code{quit-restore} parameter is a list of -buffer, window start (@pxref{Window Start and End}), and point -(@pxref{Window Point}), and that buffer is still live, the buffer will -be displayed, and start and point set accordingly. If, in addition, -@var{window}'s buffer was temporarily resized, this function will also -try to restore the original height of @var{window}. +If the second element of the @code{quit-restore} parameter is a list +of a buffer, a window start (@pxref{Window Start and End}) and a +window point (@pxref{Window Point}), and that buffer is still live, +the buffer will be displayed, and start and point set accordingly. +If, in addition, @var{window}'s buffer was temporarily resized, this +function will also try to restore the original height of @var{window}. Otherwise, if @var{window} was previously used for displaying other buffers (@pxref{Window History}), the most recent buffer in that