jamescherti / minimal-emacs.d

Minimal ~/.emacs.d - Better Vanilla Emacs Defaults and Optimized Startup

Home Page:https://github.com/jamescherti/minimal-emacs.d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting with --init-directory

oatmealm opened this issue · comments

I'm curious why this doesn't work... it won't load the init files at all (I'm skipping site-lisp).

emacs --init-directory ~/.config/minimal-emacs.d/ -nsl

I tried the same and it worked for me:

git clone https://github.com/jamescherti/minimal-emacs.d  ~/.config/minimal-emacs.d
git -C ~/.config/minimal-emacs.d pull
echo '(message "Test")' >> ~/.config/minimal-emacs.d/post-init.el

When I execute:

emacs --init-directory ~/.config/minimal-emacs.d/ -nsl

I see "Test" in the *Messages* buffer.

Could you please try to do the same? Do you see Test?

Yep. Works. I think I misunderstood the load order.
Thank you.

You're welcome, @oatmealm . I'm glad it works for you. If you have any more questions, feel free to ask!