]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/frame.el (clone-frame): Doc fix (bug#74750).
authorEli Zaretskii <eliz@gnu.org>
Tue, 17 Dec 2024 11:59:08 +0000 (13:59 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:11:25 +0000 (16:11 +0100)
(cherry picked from commit 39a438d693daeb2e770f8a30c7a02e4039bf0036)

lisp/frame.el

index 092f93bf9413a9f1af75350d31f01e2ab3aa115d..c0c7ac8e25c636817745bceca4c87f48daf5fe96 100644 (file)
@@ -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