[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master fec05bc: docstring: If FRAME is nil, it defaults to selected fram
From: |
Lars Ingebrigtsen |
Subject: |
master fec05bc: docstring: If FRAME is nil, it defaults to selected frame. |
Date: |
Fri, 11 Dec 2020 10:31:56 -0500 (EST) |
branch: master
commit fec05bc6679361909dfd1dbe1abdc944591ec840
Author: Pankaj Jangid <pankaj@codeisgreat.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
docstring: If FRAME is nil, it defaults to selected frame.
* src/frame.c (Fset_frame_size): Clarify what a nil FRAME
parameter means (bug#45170).
---
src/frame.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/frame.c b/src/frame.c
index 17ec455..164c05c 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3577,7 +3577,9 @@ window managers may refuse to honor a HEIGHT that is not
an integer
multiple of the default frame font height.
When called interactively, HEIGHT is the numeric prefix and the
-currently selected frame will be set to this height. */)
+currently selected frame will be set to this height.
+
+If FRAME is nil, it defaults to the selected frame. */)
(Lisp_Object frame, Lisp_Object height, Lisp_Object pretend, Lisp_Object
pixelwise)
{
struct frame *f = decode_live_frame (frame);
@@ -3600,7 +3602,9 @@ window managers may refuse to honor a WIDTH that is not
an integer
multiple of the default frame font width.
When called interactively, WIDTH is the numeric prefix and the
-currently selected frame will be set to this width. */)
+currently selected frame will be set to this width.
+
+If FRAME is nil, it defaults to the selected frame. */)
(Lisp_Object frame, Lisp_Object width, Lisp_Object pretend, Lisp_Object
pixelwise)
{
struct frame *f = decode_live_frame (frame);
@@ -3616,7 +3620,9 @@ Optional argument PIXELWISE non-nil means to measure in
pixels. Note:
When `frame-resize-pixelwise' is nil, some window managers may refuse to
honor a WIDTH that is not an integer multiple of the default frame font
width or a HEIGHT that is not an integer multiple of the default frame
-font height. */)
+font height.
+
+If FRAME is nil, it defaults to the selected frame. */)
(Lisp_Object frame, Lisp_Object width, Lisp_Object height, Lisp_Object
pixelwise)
{
struct frame *f = decode_live_frame (frame);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master fec05bc: docstring: If FRAME is nil, it defaults to selected frame.,
Lars Ingebrigtsen <=