From 5f6b214f52db840ebde66683bdb82fcee8288411 Mon Sep 17 00:00:00 2001 From: Ashley Duckworth Date: Fri, 22 Jan 2021 13:07:23 -0600 Subject: Reorganize early-init and init and add comments --- config.org | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index 705615c..d99c918 100644 --- a/config.org +++ b/config.org @@ -1431,9 +1431,10 @@ This runs Emacs with the =--debug-init= option enabled. <> "%EMACS%" --debug-init %* #+end_src + * Appendices -** =config.el= +** config.el :PROPERTIES: :header-args: :tangle config.el :noweb yes :END: @@ -1446,24 +1447,42 @@ my config here /logically/, while keeping the generated file organized *** Enable lexical binding #+begin_src emacs-lisp - ;; config.el -*- lexical-binding: t -*- + ;;; config.el --- personal configuration -*- lexical-binding: t -*- #+end_src -*** Disclaimer +*** Header & disclaimer :PROPERTIES: :header-args: :noweb-ref disclaimer :END: #+begin_src emacs-lisp + ;; Copyright (C) 2020 Case Duckworth + + ;; Author: Case Duckworth + ;; Created: Sometime during the Covid-19 lockdown, 2019 + ;; Keywords: configuration + ;; URL: https://tildegit.org/acdw/emacs + + ;; This file is not part of GNU Emacs. + + ;;; Commentary: ;; This file is automatically tangled from config.org. ;; Hand edits will be overwritten! + #+end_src *** The rest #+begin_src emacs-lisp + <> + ;;; Code: + ;;; REQUIRES <> + + ;;; ACDW MODE + <> + ;;; PACKAGES ;; straight.el depends on git, which /should be/ find-able by the PATH ;; manipulation in early-init.el. Just in case, though, we'll check @@ -1561,12 +1580,16 @@ the package manager or the UI code. The Info says we should put as little as possible in this file, so I only have what I need. #+begin_src emacs-lisp - ;; early-init.el -*- no-byte-compile: t; -*- + ;;; early-init.el -*- no-byte-compile: t; -*- <> + ;;; Code: + ;; BOOTSTRAP PACKAGE MANAGEMENT <> ;; SETUP FRAME <> + + ;;; early-init.el ends here #+end_src ** License -- cgit 1.4.1-21-gabe81