From f4ca7f51cd02267909cdc821c99d4e53466bd279 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 17 Dec 2024 13:59:08 +0200 Subject: [PATCH] ; * lisp/frame.el (clone-frame): Doc fix (bug#74750). (cherry picked from commit 39a438d693daeb2e770f8a30c7a02e4039bf0036) --- lisp/frame.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/frame.el b/lisp/frame.el index 092f93bf941..c0c7ac8e25c 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -862,10 +862,11 @@ When called from Lisp, returns the new frame." (defun clone-frame (&optional frame no-windows) "Make a new frame with the same parameters and windows as FRAME. -With a prefix arg NO-WINDOWS, don't clone the window configuration. -When the user option `frame-resize-pixelwise' is non-nil, and FRAME is -not text-only, clone the originating frame's pixel size. Otherwise, use -the number of FRAME's columns and lines for the clone. +If NO-WINDOWS is non-nil (interactively, the prefix argument), don't +clone the configuration of FRAME's windows. +If FRAME is a graphical frame and `frame-resize-pixelwise' is non-nil, +clone FRAME's pixel size. Otherwise, use the number of FRAME's columns +and lines for the clone. FRAME defaults to the selected frame. The frame is created on the same terminal as FRAME. If the terminal is a text-only terminal then -- 2.39.5