diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-12-07 19:57:14 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-12-07 19:57:14 +0200 |
commit | 8f7da3ecb5e9d03b776a7c6caeb5c76e9ef680dc (patch) | |
tree | 0d56e8cb344be39fca672ba987acb547fc795d0d /doc | |
parent | 77a30e1e88daed4cb47fd567dcae25a260eb1ef2 (diff) | |
download | emacs-8f7da3ecb5e9d03b776a7c6caeb5c76e9ef680dc.tar.gz |
Improve before-make-frame-hook and after-make-frame-functions docs.
* lisp/frame.el (before-make-frame-hook)
(after-make-frame-functions):
* doc/lispref/frames.texi (Creating Frames): Mention that these
functions will be run for the initial frame only if added to the
hook in early-init file. (Bug#38143)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/frames.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 923ff19997e..00332fed0bf 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -171,7 +171,9 @@ 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. +the minibuffer frame. Alternatively, you can add functions to these +hooks in your ``early init file'' (@pxref{Init File}), in which case +they will be in effect for the initial frame as well. @defvar frame-inherited-parameters This variable specifies the list of frame parameters that a newly |