dot-emacs

My emacs dotfiles/config
git clone git://git.ethandl.dev/dot-emacs
Log | Files | Refs

commit 0da2fdc2246ec17a01c373b6541f75f2adfe4a88
parent 0f2d954e25da10fd4a31a0bf6e1cef3fef334f47
Author: Ethan Long <ethandavidlong@gmail.com>
Date:   Thu, 17 Aug 2023 23:12:39 +1000

Made the init file more portable

Diffstat:
Minit.el | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init.el b/init.el @@ -51,7 +51,7 @@ ;; :load-path "~/.config/emacs/elpaca/builds/org/") ;; We then need to wait for the download of org to complete before we can use org. ;;(elpaca-wait) - -(org-babel-load-file "~/.config/emacs/config.org") +(when (file-readable-p "config.org") + (org-babel-load-file (expand-file-name "config.org"))) ;; Emacs crap that it does automatically: