[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 39cc0c2f23: Improve the initial-frame-alist doc string
From: |
Lars Ingebrigtsen |
Subject: |
master 39cc0c2f23: Improve the initial-frame-alist doc string |
Date: |
Sun, 18 Sep 2022 08:46:45 -0400 (EDT) |
branch: master
commit 39cc0c2f234ccac782a722d0ee998c4f57e0f65f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Improve the initial-frame-alist doc string
* lisp/frame.el (initial-frame-alist): Clarify how to set this
variable (bug#57890).
---
lisp/frame.el | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/lisp/frame.el b/lisp/frame.el
index ae8449d0ea..67c1168557 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -77,17 +77,20 @@ If the value calls for a frame without a minibuffer, and
you have
not created a minibuffer frame on your own, a minibuffer frame is
created according to `minibuffer-frame-alist'.
-You can specify geometry-related options for just the initial
-frame by setting this variable in your init file; however, they
-won't take effect until Emacs reads your init file, which happens
-after creating the initial frame. If you want the initial frame
-to have the proper geometry as soon as it appears, you need to
-use this three-step process:
+Emacs reads your main init file after creating the initial frame,
+so setting it there won't have the expected effect. Instead, you
+can set it in `early-init-file'.
+
+If you're using X, and you want (for instance) to have different
+geometries on different displays, you need to use this three-step
+process:
+
* Specify X resources to give the geometry you want.
* Set `default-frame-alist' to override these options so that they
don't affect subsequent frames.
-* Set `initial-frame-alist' in a way that matches the X resources,
- to override what you put in `default-frame-alist'."
+* Set `initial-frame-alist' in your normal init file in a way
+ that matches the X resources, to override what you put in
+ `default-frame-alist'."
:type '(repeat (cons :format "%v"
(symbol :tag "Parameter")
(sexp :tag "Value")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 39cc0c2f23: Improve the initial-frame-alist doc string,
Lars Ingebrigtsen <=