]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix recently added documentation
authorEli Zaretskii <eliz@gnu.org>
Fri, 10 Jan 2025 15:03:16 +0000 (17:03 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 11 Jan 2025 11:18:56 +0000 (12:18 +0100)
* doc/lispref/windows.texi (Splitting Windows): Fix punctuation.
(Resurrecting Windows): Fix typo.
* doc/lispref/elisp.texi (Top): Add the new node to @detailmenu.

(cherry picked from commit 4a8c885dfab87e85edd0897725a242a48f88436b)

doc/lispref/elisp.texi
doc/lispref/windows.texi

index cc5762e37e54e9e2a3378932dc18ee3693c764dc..adec6d847ea4ed573b0bc6787f24a790fed3add2 100644 (file)
@@ -1075,6 +1075,7 @@ Windows
 * Deleting Windows::        Deleting a window gives its space to other windows.
 * Recombining Windows::     Preserving the frame layout when splitting and
                               deleting windows.
+* Resurrecting Windows::    Restoring deleted windows.
 * Cyclic Window Ordering::  Moving around the existing windows.
 * Buffers and Windows::     Each window displays the contents of a buffer.
 * Switching Buffers::       Higher-level functions for switching to a buffer.
index 10254db2068fe32c403ae3fc62bb1c16448ea050..cb406c4e67054e3c0ee1368b17e7d4b2be7e5bca 100644 (file)
@@ -1427,7 +1427,7 @@ window.  If non-@code{nil}, @var{refer} can be either a window or a cons
 cell of two windows.
 
 If @var{refer} is a cons cell, its @sc{car} has to specify a deleted,
-former live window - a window that has shown a buffer before - on the
+former live window -- a window that has shown a buffer before -- on the
 same frame as @var{window}.  That buffer must be still live.  The
 @sc{cdr} has to specify a deleted window that was, before its deletion,
 a parent window on the same frame as @var{window}.  In this case, rather
@@ -1439,10 +1439,10 @@ immediately before @var{refer}'s @sc{car} was deleted the last time.
 Decorations and parameters remain unaltered from their values before
 @var{refer}'s @sc{car} and @sc{cdr} were deleted.
 
-Alternatively, @var{refer} may specify a deleted, former live window - a
-window that has shown a buffer before - on the same frame as
+Alternatively, @var{refer} may specify a deleted, former live window -- a
+window that has shown a buffer before -- on the same frame as
 @var{window}.  That buffer must be still live.  In this case, this
-function do not make a new window but rather makes @var{refer} live
+function does not make a new window but rather makes @var{refer} live
 again and inserts it into the window tree at the position and with the
 sizes the new window would have been given.  Buffer, start and point
 positions of @var{refer} are set to the values they had immediately
@@ -2108,7 +2108,8 @@ After a window has been deleted (@pxref{Deleting Windows}) it cannot be
 used any more by functions that require a valid window as their argument
 even if some Lisp variable still references that window.  When the last
 reference to a window has ceased to exist, the window's Lisp object will
-be eventually recycled by the garbage collector.
+be eventually recycled by the garbage collector (@pxref{Garbage
+Collection}).
 
 There are two ways to resurrect a deleted window whose object has not
 been yet recycled by the collector: The first is to keep a reference to
@@ -2189,7 +2190,7 @@ returned by @code{window-prev-sibling} and @code{window-next-sibling} of
 the window and its sibling.
 
 The following code passes both, the new window on the right and its
-parent, via the @var{refer} argument to @code{split-window}: instead.
+parent, via the @var{refer} argument to @code{split-window} instead.
 
 @example
 @group