diff --git a/early-init.el b/early-init.el index 512068a..d5563a9 100644 --- a/early-init.el +++ b/early-init.el @@ -1 +1,16 @@ +;;; early-init.el --- Summary +;; +;;; Commentary: +;; +;; Emacs27 introduces early-init.el, which is run before init.el, +;; before package and UI initialization happens. +;; +;;; Code: +;; +;; Disable package.el in favor of straight.el (setq package-enable-at-startup nil) +;; +;; +(provide 'early-init) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; early-init.el ends here diff --git a/init.el b/init.el index dad37df..eccbf6f 100644 --- a/init.el +++ b/init.el @@ -1,3 +1,17 @@ +;;; init.el --- The Emacs init file +;; +;;; Commentary: +;; This is the main configuration file for Emacs. +;; In this file: +;; - Set the bootstratp for straight.el +;; - Load use-package +;; - Load no-littering +;; - Set user-init-directory to ~/.cache/emacs +;; - Install the latest release of org +;; - Load the file ~/.emacs.d/myconfig.org +;; +;;; Code: +;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; set up straight package manager ;; @@ -18,3 +32,8 @@ ;; Install and configure use-package (straight-use-package 'use-package) (setq straight-use-package-by-default t) +;; +;; +(provide 'init) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; init.el ends here