emacs-config/init.el

23 lines
810 B
EmacsLisp
Raw Normal View History

;;;; init the straight package manager
(load-file (expand-file-name "straight-boot.el" user-emacs-directory))
2019-04-11 13:40:33 -04:00
2019-05-01 16:51:34 -04:00
;; 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")
2018-12-11 20:05:56 -05:00
"The absolute path the main EMACS configuration file.")
2019-05-24 20:52:58 -04:00
;; ensure we use built-in org mode
;; (use-package org :straight org-plus-contrib)
2023-06-19 17:56:01 -04:00
;; (straight-use-package '(org :type built-in))
(straight-use-package
'(org :type git
2024-06-13 17:52:25 -04:00
:repo "git://git.savannah.gnu.org/emacs/org-mode.git"
:branch "release_9.7.3"))
2023-06-19 17:56:01 -04:00
;;(load-file "~/.config/emacs/straight/repos/org/lisp/org-element-ast.el")
;;(load-file "~/.config/emacs/straight/repos/org/lisp/org-element.el")
2019-04-24 17:24:14 -04:00
2019-05-01 16:51:34 -04:00
;; load everything else
2018-12-11 20:05:56 -05:00
(org-babel-load-file nd/conf-main)