dot-emacs

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

commit 9642da869848d3b158653442e06f44012f436c6b
parent 0da2fdc2246ec17a01c373b6541f75f2adfe4a88
Author: Ethan Long <ethandavidlong@gmail.com>
Date:   Thu, 17 Aug 2023 23:31:19 +1000

That StackOverflow article lied!

Luckily it was very nearly correct, so now the init.el is portable!

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

diff --git a/init.el b/init.el @@ -51,7 +51,8 @@ ;; :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) -(when (file-readable-p "config.org") - (org-babel-load-file (expand-file-name "config.org"))) +(setq ethandl/config-fname (expand-file-name "config.org" user-emacs-directory)) +(when (file-readable-p ethandl/config-fname) + (org-babel-load-file ethandl/config-fname)) ;; Emacs crap that it does automatically: