From: Eli Zaretskii Date: Sun, 23 Feb 2025 10:25:14 +0000 (+0200) Subject: ; Fix last change X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=939de06b0bb7bd9d7ebf576b831b0ad303dede8d;p=emacs.git ; Fix last change * src/frame.c (syms_of_frame) : * doc/lispref/frames.texi (Implied Frame Resizing): Don't use passive voice. (Bug#76275) (cherry picked from commit 70b15c5174e147c25f4cf71f7c94ee72a8839393) --- diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index c6870f3ff28..8afb2c75ff2 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -1249,16 +1249,16 @@ resizing with the following option: If this option is @code{nil}, changing a frame's font, menu bar, tool bar, internal borders, fringes or scroll bars may resize its outer frame in order to keep the number of columns or lines of its text area -unaltered. If this option is @code{t}, no such resizing is done once a -frame has obtained its initial size. If this is the symbol -@code{force}, no implicit resizing is done whenever a new frame is made. +unaltered. If this option is @code{t}, no such resizing happens once a +frame has obtained its initial size. If the value is the symbol +@code{force}, no implicit resizing happens whenever a new frame is made. The latter can be useful with tiling window managers where the initial size of a frame is determined by external means. The value of this option can be also a list of frame parameters. In -that case, implied resizing is inhibited for the change of a parameter -that appears in this list. Parameters currently handled by this -option are @code{font}, @code{font-backend}, +that case, implied resizing is inhibited for the change of the +parameters that appear in this list. Parameters currently handled by +this option are @code{font}, @code{font-backend}, @code{internal-border-width}, @code{menu-bar-lines} and @code{tool-bar-lines}. diff --git a/src/frame.c b/src/frame.c index f3b76320cb4..d2c6f01168e 100644 --- a/src/frame.c +++ b/src/frame.c @@ -7113,9 +7113,9 @@ a non-nil value in your init file. */); If this option is nil, setting font, menu bar, tool bar, tab bar, internal borders, fringes or scroll bars of a specific frame may resize the frame in order to preserve the number of columns or lines it -displays. If this option is t, no such resizing is done once a frame +displays. If this option is t, no such resizing happens once a frame has got its initial size. If this is the symbol `force', no implicit -resizing is done whenever a new frame is made. This can be useful with +resizing happens whenever a new frame is made. This can be useful with tiling window managers where the initial size of a frame is determined by external means.