emacs-config/init.el

23 lines
816 B
EmacsLisp

;;;; init the straight package manager
(load-file (expand-file-name "straight-boot.el" user-emacs-directory))
;; configure all config paths before anything else is loaded
(use-package no-littering :straight t)
(defvar nd/conf-main (no-littering-expand-etc-file-name "conf.org")
"The absolute path the main EMACS configuration file.")
;; ensure we use built-in org mode
;; (use-package org :straight org-plus-contrib)
;; (straight-use-package '(org :type built-in))
(straight-use-package
'(org :type git
:repo "https://git.sr.ht/~yantar92/org-mode"
:branch "feature/org-element-ast-tidy"))
;;(load-file "~/.config/emacs/straight/repos/org/lisp/org-element-ast.el")
;;(load-file "~/.config/emacs/straight/repos/org/lisp/org-element.el")
;; load everything else
(org-babel-load-file nd/conf-main)