From f58111408ddb4879cd41b7d46fd911a65aec8800 Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Sat, 4 Nov 2023 18:21:08 +0100 Subject: [PATCH] docs: minor fix in hooks order --- README.md | 2 +- init.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb72a58a..bd3d7a55 100644 --- a/README.md +++ b/README.md @@ -136,11 +136,11 @@ MinEmacs loads its features and run hooks in this order: - `~/.emacs.d/early-init.el` - `$MINEMACSDIR/early-config.el` (unless `$MINEMACS_IGNORE_EARLY_CONFIG_EL`) - `~/.emacs.d/init.el` + - `before-init-hook` - `~/.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_INIT_TWEAKS_EL`) - - `before-init-hook` - `$MINEMACSDIR/modules.el` (unless `$MINEMACS_IGNORE_MODULES_EL`) - `~/.emacs.d/core/[minemacs-core-modules].el` - `~/.emacs.d/modules/[minemacs-modules].el` diff --git a/init.el b/init.el index 79dd04f0..c65cfada 100644 --- a/init.el +++ b/init.el @@ -10,11 +10,11 @@ ;; - ~/.emacs.d/early-init.el ;; - $MINEMACSDIR/early-config.el (unless $MINEMACS_IGNORE_USER_CONFIG or $MINEMACS_IGNORE_EARLY_CONFIG_EL) ;; - ~/.emacs.d/init.el +;; + `before-init-hook' ;; + ~/.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