emacs-config/init.el

23 lines
810 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 "git://git.savannah.gnu.org/emacs/org-mode.git"
:branch "release_9.7.3"))
;;(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)