Skip to content

Commit

Permalink
docs(init): document load and hooks order
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 4, 2023
1 parent cf52c65 commit e3c7bb5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@

;;; Commentary:

;; Load and hooks order:
;; - ~/.emacs.d/early-init.el
;; - $MINEMACSDIR/early-config.el (unless $MINEMACS_IGNORE_USER_CONFIG or $MINEMACS_IGNORE_EARLY_CONFIG_EL)
;; - ~/.emacs.d/init.el
;; + ~/.emacs.d/core/me-vars.el
;; + ~/.emacs.d/core/backports/*.el (when Emacs < 29)
;; + ~/.emacs.d/core/me-loaddefs.el
;; + ~/.emacs.d/core/init-tweaks.el (unless $MINEMACS_IGNORE_USER_CONFIG or $MINEMACS_IGNORE_INIT_TWEAKS_EL)
;; + `before-init-hook'
;; + $MINEMACSDIR/modules.el (unless $MINEMACS_IGNORE_USER_CONFIG or $MINEMACS_IGNORE_MODULES_EL)
;; + ~/.emacs.d/core/[minemacs-core-modules].el
;; + ~/.emacs.d/modules/[minemacs-modules].el
;; + `minemacs-after-loading-modules-hook'
;; + $MINEMACSDIR/custom-vars.el
;; + $MINEMACSDIR/config.el (unless $MINEMACS_IGNORE_USER_CONFIG or $MINEMACS_IGNORE_CONFIG_EL)
;; + `after-init-hook'
;; + `emacs-startup-hook'
;; + `minemacs-after-startup-hook'
;; - `minemacs-lazy-hook' (delayed)

;; Special hooks defined with `+make-first-file-hook!'
;; - `minemacs-first-file-hook'
;; - `minemacs-first-elisp-file-hook'
;; - `minemacs-first-org-file-hook'

;;; Code:

;; Check if Emacs version is supported. You can define the
Expand Down

0 comments on commit e3c7bb5

Please sign in to comment.