aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-12-05 21:14:26 +0100
committerLars Ingebrigtsen2021-12-05 21:14:26 +0100
commit8ef6eeeaea277436508e547c9f6c136fda283f12 (patch)
tree167aed0935127b62ac4ecb78010225c2b36deaa3
parentb961af66b9e8c4ccc8efee0401231e1a8ff42c77 (diff)
downloademacs-8ef6eeeaea277436508e547c9f6c136fda283f12.tar.gz
emacs-8ef6eeeaea277436508e547c9f6c136fda283f12.zip
Revert "Improve before-make-frame-hook and after-make-frame-functions docs"
This reverts commit 7842a606b76dfabd1540da1c130728064e8f02ed. The new documentation was incorrect.
-rw-r--r--lisp/frame.el11
1 files changed, 2 insertions, 9 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index bc086495041..1319759e74d 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -808,19 +808,12 @@ also select the new frame."
808 new-frame)) 808 new-frame))
809 809
810(defvar before-make-frame-hook nil 810(defvar before-make-frame-hook nil
811 "Functions to run before `make-frame' creates a new frame. 811 "Functions to run before `make-frame' creates a new frame.")
812Note that these functions are usually not run for the initial
813frame, except when the initial frame is created from an Emacs
814daemon.")
815 812
816(defvar after-make-frame-functions nil 813(defvar after-make-frame-functions nil
817 "Functions to run after `make-frame' created a new frame. 814 "Functions to run after `make-frame' created a new frame.
818The functions are run with one argument, the newly created 815The functions are run with one argument, the newly created
819frame. 816frame.")
820
821Note that these functions are usually not run for the initial
822frame, except when the initial frame is created from an Emacs
823daemon.")
824 817
825(defvar after-setting-font-hook nil 818(defvar after-setting-font-hook nil
826 "Functions to run after a frame's font has been changed.") 819 "Functions to run after a frame's font has been changed.")