Seems there are several hooks about actions on Emacs initialization. However I'm not sure what their differences are, and a brief Googling yields little information. Is it like emacs-startup-hook
is executed instantly after Emacs is fired up, but it doesn't necessarily wait for initialization to finish?
Asked
Active
Viewed 7,747 times
16

xji
- 2,635
- 18
- 38
1 Answers
22
See the Startup Summary section of the Emacs Lisp manual for a detailed description of the things that happen when you start Emacs.
The emacs-startup-hook
runs later than the after-init-hook
.
One key difference is that there may be command-line options processed after the after-init-hook
and before the emacs-startup-hook
. (Command-line options are handled in multiple phases, with some being processed right away and some after init files have been loaded.)

glucas
- 20,563
- 1
- 54
- 84
M-x report-emacs-bug
. – Drew Aug 07 '15 at 14:01