diff options
| author | Lars Ingebrigtsen | 2021-12-05 21:14:26 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-12-05 21:14:26 +0100 |
| commit | 8ef6eeeaea277436508e547c9f6c136fda283f12 (patch) | |
| tree | 167aed0935127b62ac4ecb78010225c2b36deaa3 | |
| parent | b961af66b9e8c4ccc8efee0401231e1a8ff42c77 (diff) | |
| download | emacs-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.el | 11 |
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.") |
| 812 | Note that these functions are usually not run for the initial | ||
| 813 | frame, except when the initial frame is created from an Emacs | ||
| 814 | daemon.") | ||
| 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. |
| 818 | The functions are run with one argument, the newly created | 815 | The functions are run with one argument, the newly created |
| 819 | frame. | 816 | frame.") |
| 820 | |||
| 821 | Note that these functions are usually not run for the initial | ||
| 822 | frame, except when the initial frame is created from an Emacs | ||
| 823 | daemon.") | ||
| 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.") |