diff --git a/README.md b/README.md index 12c6043..7ed7755 100644 --- a/README.md +++ b/README.md @@ -1107,7 +1107,7 @@ To prioritize MELPA over MELPA Stable, to access bleeding-edge package versions, Add the following line to the end of your `post-init.el` file: ```lisp -(minimal-emacs-load-user-init "local.el") +(minimal-emacs-load-user-init "local") ``` This allows `local.el` to load, enabling custom configurations specific to the machine. @@ -1147,7 +1147,7 @@ Add the following to the top of the `~/.emacs.d/pre-early-init.el` file to make (unless (string= minimal-emacs-user-directory previous-minimal-emacs-user-directory) ;; Load pre-early-init.el from the new directory - (minimal-emacs-load-user-init "pre-early-init.el"))) + (minimal-emacs-load-user-init "pre-early-init"))) ``` ### Are post-early-init.el and pre-init.el the same file in terms of the logic? diff --git a/early-init.el b/early-init.el index 7675277..158e9c7 100644 --- a/early-init.el +++ b/early-init.el @@ -100,7 +100,7 @@ When set to non-nil, Emacs will automatically call `package-initialize' and (setq minimal-emacs--stage (file-name-nondirectory init-file)) (load init-file nil t)))) -(minimal-emacs-load-user-init "pre-early-init.el") +(minimal-emacs-load-user-init "pre-early-init") (setq minimal-emacs--stage "early-init.el") (setq custom-theme-directory @@ -398,7 +398,7 @@ this stage of initialization." ("melpa" . 0))) ;;; Load post-early-init.el -(minimal-emacs-load-user-init "post-early-init.el") +(minimal-emacs-load-user-init "post-early-init") (provide 'early-init) diff --git a/init.el b/init.el index 166de01..5a3d11a 100644 --- a/init.el +++ b/init.el @@ -1,4 +1,4 @@ -;;; init.el --- Init -*- lexical-binding: t; -*- +;;; init.el --- Init -*- no-byte-compile: t; lexical-binding: t; -*- ;; Author: James Cherti ;; URL: https://github.com/jamescherti/minimal-emacs.d @@ -17,7 +17,7 @@ ;;; Load pre-init.el (setq minimal-emacs--stage "init.el") (if (fboundp 'minimal-emacs-load-user-init) - (minimal-emacs-load-user-init "pre-init.el") + (minimal-emacs-load-user-init "pre-init") (error "The early-init.el file failed to loaded")) (setq minimal-emacs--stage "init.el") @@ -518,7 +518,7 @@ ;;; Load post init (when (fboundp 'minimal-emacs-load-user-init) - (minimal-emacs-load-user-init "post-init.el")) + (minimal-emacs-load-user-init "post-init")) (setq minimal-emacs--success t) (provide 'init)