diff options
| author | Karl Heuer | 1996-02-21 21:21:31 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-02-21 21:21:31 +0000 |
| commit | db3f571abd102a9e9f08456be78dfa041f1cb9b2 (patch) | |
| tree | 1ae09c0a12b94a57b79846bae94c9548cca908a8 | |
| parent | 738efc8e5c86a6885242af5eba97431ab9a062f3 (diff) | |
| download | emacs-db3f571abd102a9e9f08456be78dfa041f1cb9b2.tar.gz emacs-db3f571abd102a9e9f08456be78dfa041f1cb9b2.zip | |
(before-init-hook, after-init-hook): Doc fix.
(term-setup-hook): Doc fix.
(emacs-startup-hook): New defvar.
| -rw-r--r-- | lisp/startup.el | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 65be36abc26..b21fc83eebd 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -215,18 +215,20 @@ and VALUE is the value which is given to that frame parameter | |||
| 215 | \(most options use the argument for this, so VALUE is not present).") | 215 | \(most options use the argument for this, so VALUE is not present).") |
| 216 | 216 | ||
| 217 | (defvar before-init-hook nil | 217 | (defvar before-init-hook nil |
| 218 | "Functions to call after handling urgent options but before init files. | 218 | "Normal hook run after handling urgent options but before loading init files.") |
| 219 | The frame system uses this to open frames to display messages while | ||
| 220 | Emacs loads the user's initialization file.") | ||
| 221 | 219 | ||
| 222 | (defvar after-init-hook nil | 220 | (defvar after-init-hook nil |
| 223 | "Functions to call after loading the init file (`~/.emacs'). | 221 | "Normal hook run after loading the init files, `~/.emacs' and `default.el'. |
| 224 | The call is not protected by a condition-case, so you can set `debug-on-error' | 222 | There is no `condition-case' around the running of these functions; |
| 225 | in `.emacs', and put all the actual code on `after-init-hook'.") | 223 | therefore, if you set `debug-on-error' non-nil in `.emacs', |
| 224 | an error in one of these functions will invoke the debugger.") | ||
| 225 | |||
| 226 | (defvar emacs-startup-hook nil | ||
| 227 | "Normal hook run after loading init files and handling the command line.") | ||
| 226 | 228 | ||
| 227 | (defvar term-setup-hook nil | 229 | (defvar term-setup-hook nil |
| 228 | "Functions to be called after loading terminal-specific Lisp code. | 230 | "Normal hook run after loading terminal-specific Lisp code. |
| 229 | See `run-hooks'. This variable exists for users to set, | 231 | It also follows `emacs-startup-hook'. This hook exists for users to set, |
| 230 | so as to override the definitions made by the terminal-specific file. | 232 | so as to override the definitions made by the terminal-specific file. |
| 231 | Emacs never sets this variable itself.") | 233 | Emacs never sets this variable itself.") |
| 232 | 234 | ||