Timeline for Why after-init-hook is not invoked? (workaround is emacs-startup-hook)
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 12, 2019 at 7:30 | comment | added | tdd | I can answer my comment: No. See here: after-init-hook: This normal hook is run, once, just after loading all the init files (site-start.el, your init file, and default.el), before loading the terminal-specific library (if started on a text terminal) and processing the command-line action arguments. | |
| Jul 12, 2019 at 7:18 | vote | accept | tdd | ||
| Jul 12, 2019 at 7:18 | comment | added | tdd | ok, I just guessed loading el-files must come earlier than after-init-hook processing (5. It does some basic parsing of the command-line arguments.?). Otherwise is there a way at all for loading custom init files via command line besides of the hardcoded options? | |
| Jul 11, 2019 at 13:09 | history | answered | npostavs | CC BY-SA 4.0 |