use no litter

This commit is contained in:
ndwarshuis 2019-05-01 16:51:34 -04:00
parent 27b9967fb0
commit ed8a5b2808
3 changed files with 3831 additions and 3773 deletions

View File

@ -1 +0,0 @@
conf.org

3825
README.org Normal file

File diff suppressed because it is too large Load Diff

3771
conf.org

File diff suppressed because it is too large Load Diff

View File

@ -20,16 +20,21 @@
'(watch-files find-when-checking) '(watch-files find-when-checking)
'(check-on-save find-when-checking))) '(check-on-save find-when-checking)))
;; install use-package itself
(straight-use-package 'use-package) (straight-use-package 'use-package)
;; configure all config paths before anything else is loaded
(use-package no-littering :straight t)
(defvar nd/conf-dir "~/.emacs.d/" (defvar nd/conf-dir "~/.emacs.d/"
"The absolute path to the EMACS configuration directory.") "The absolute path to the EMACS configuration directory.")
(defvar nd/conf-main (expand-file-name "conf.org" nd/conf-dir) (defvar nd/conf-main (no-littering-expand-etc-file-name "conf.org")
"The absolute path the main EMACS configuration file.") "The absolute path the main EMACS configuration file.")
;; ensure we don't use built-in org mode ;; ensure we don't use built-in org mode
(use-package org :straight org-plus-contrib) (use-package org :straight org-plus-contrib)
;; (straight-use-package '(org :type built-in)) ;; (straight-use-package '(org :type built-in))
;; load everything else
(org-babel-load-file nd/conf-main) (org-babel-load-file nd/conf-main)