diff options
| author | Pankaj Jangid | 2020-12-11 16:31:48 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-12-11 16:31:48 +0100 |
| commit | fec05bc6679361909dfd1dbe1abdc944591ec840 (patch) | |
| tree | ecbe1e840963b1f3aa656a1771ab5fac3dad33d2 | |
| parent | ec1651875367964b9668c914a5145a3f247bfb26 (diff) | |
| download | emacs-fec05bc6679361909dfd1dbe1abdc944591ec840.tar.gz emacs-fec05bc6679361909dfd1dbe1abdc944591ec840.zip | |
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).
| -rw-r--r-- | src/frame.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c index 17ec455d2d6..164c05cae85 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 | |||
| 3577 | multiple of the default frame font height. | 3577 | multiple of the default frame font height. |
| 3578 | 3578 | ||
| 3579 | When called interactively, HEIGHT is the numeric prefix and the | 3579 | When called interactively, HEIGHT is the numeric prefix and the |
| 3580 | currently selected frame will be set to this height. */) | 3580 | currently selected frame will be set to this height. |
| 3581 | |||
| 3582 | If FRAME is nil, it defaults to the selected frame. */) | ||
| 3581 | (Lisp_Object frame, Lisp_Object height, Lisp_Object pretend, Lisp_Object pixelwise) | 3583 | (Lisp_Object frame, Lisp_Object height, Lisp_Object pretend, Lisp_Object pixelwise) |
| 3582 | { | 3584 | { |
| 3583 | struct frame *f = decode_live_frame (frame); | 3585 | struct frame *f = decode_live_frame (frame); |
| @@ -3600,7 +3602,9 @@ window managers may refuse to honor a WIDTH that is not an integer | |||
| 3600 | multiple of the default frame font width. | 3602 | multiple of the default frame font width. |
| 3601 | 3603 | ||
| 3602 | When called interactively, WIDTH is the numeric prefix and the | 3604 | When called interactively, WIDTH is the numeric prefix and the |
| 3603 | currently selected frame will be set to this width. */) | 3605 | currently selected frame will be set to this width. |
| 3606 | |||
| 3607 | If FRAME is nil, it defaults to the selected frame. */) | ||
| 3604 | (Lisp_Object frame, Lisp_Object width, Lisp_Object pretend, Lisp_Object pixelwise) | 3608 | (Lisp_Object frame, Lisp_Object width, Lisp_Object pretend, Lisp_Object pixelwise) |
| 3605 | { | 3609 | { |
| 3606 | struct frame *f = decode_live_frame (frame); | 3610 | struct frame *f = decode_live_frame (frame); |
| @@ -3616,7 +3620,9 @@ Optional argument PIXELWISE non-nil means to measure in pixels. Note: | |||
| 3616 | When `frame-resize-pixelwise' is nil, some window managers may refuse to | 3620 | When `frame-resize-pixelwise' is nil, some window managers may refuse to |
| 3617 | honor a WIDTH that is not an integer multiple of the default frame font | 3621 | honor a WIDTH that is not an integer multiple of the default frame font |
| 3618 | width or a HEIGHT that is not an integer multiple of the default frame | 3622 | width or a HEIGHT that is not an integer multiple of the default frame |
| 3619 | font height. */) | 3623 | font height. |
| 3624 | |||
| 3625 | If FRAME is nil, it defaults to the selected frame. */) | ||
| 3620 | (Lisp_Object frame, Lisp_Object width, Lisp_Object height, Lisp_Object pixelwise) | 3626 | (Lisp_Object frame, Lisp_Object width, Lisp_Object height, Lisp_Object pixelwise) |
| 3621 | { | 3627 | { |
| 3622 | struct frame *f = decode_live_frame (frame); | 3628 | struct frame *f = decode_live_frame (frame); |