Clarify Creating Frames documentation

* doc/lispref/frames.texi (Creating Frames): Remove misleading
explanation -- even if the hooks are set, they won't be run
(bug#38143).
This commit is contained in:
Lars Ingebrigtsen 2021-12-05 04:09:33 +01:00
parent 133f9a7e94
commit 5d7eb2979b

View file

@ -167,11 +167,10 @@ argument, the frame just created.
@end defvar
Note that any functions added to these hooks by your initial file are
usually not run for the initial frame, since Emacs reads the initial
file only after creating that frame. However, if the initial frame is
specified to use a separate minibuffer frame (@pxref{Minibuffers and
Frames}), the functions will be run for both, the minibuffer-less and
the minibuffer frame.
usually not run for the initial frame. However, if the initial frame
is specified to use a separate minibuffer frame (@pxref{Minibuffers
and Frames}), the functions will be run for both, the minibuffer-less
and the minibuffer frame.
@defvar frame-inherited-parameters
This variable specifies the list of frame parameters that a newly