aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-02-21 21:21:31 +0000
committerKarl Heuer1996-02-21 21:21:31 +0000
commitdb3f571abd102a9e9f08456be78dfa041f1cb9b2 (patch)
tree1ae09c0a12b94a57b79846bae94c9548cca908a8
parent738efc8e5c86a6885242af5eba97431ab9a062f3 (diff)
downloademacs-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.el18
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.")
219The frame system uses this to open frames to display messages while
220Emacs 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'.
224The call is not protected by a condition-case, so you can set `debug-on-error' 222There is no `condition-case' around the running of these functions;
225in `.emacs', and put all the actual code on `after-init-hook'.") 223therefore, if you set `debug-on-error' non-nil in `.emacs',
224an 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.
229See `run-hooks'. This variable exists for users to set, 231It also follows `emacs-startup-hook'. This hook exists for users to set,
230so as to override the definitions made by the terminal-specific file. 232so as to override the definitions made by the terminal-specific file.
231Emacs never sets this variable itself.") 233Emacs never sets this variable itself.")
232 234