emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7842a60 2/2: Improve before-make-frame-hook and after-make-frame-


From: Lars Ingebrigtsen
Subject: master 7842a60 2/2: Improve before-make-frame-hook and after-make-frame-functions docs
Date: Sat, 4 Dec 2021 22:13:29 -0500 (EST)

branch: master
commit 7842a606b76dfabd1540da1c130728064e8f02ed
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Improve before-make-frame-hook and after-make-frame-functions docs
    
    * lisp/frame.el (before-make-frame-hook):
    (after-make-frame-functions): Note when the functions are run.
---
 lisp/frame.el | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/lisp/frame.el b/lisp/frame.el
index 1319759..bc08649 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -808,12 +808,19 @@ also select the new frame."
     new-frame))
 
 (defvar before-make-frame-hook nil
-  "Functions to run before `make-frame' creates a new frame.")
+  "Functions to run before `make-frame' creates a new frame.
+Note that these functions are usually not run for the initial
+frame, except when the initial frame is created from an Emacs
+daemon.")
 
 (defvar after-make-frame-functions nil
   "Functions to run after `make-frame' created a new frame.
 The functions are run with one argument, the newly created
-frame.")
+frame.
+
+Note that these functions are usually not run for the initial
+frame, except when the initial frame is created from an Emacs
+daemon.")
 
 (defvar after-setting-font-hook nil
   "Functions to run after a frame's font has been changed.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]