radian-software / radian

🍉 Dotfiles that marry elegance and practicality.
MIT License
490 stars 47 forks source link

bootstrap-file should respect straight-base-dir #473

Closed haji-ali closed 3 years ago

haji-ali commented 3 years ago

I believe this definition

https://github.com/raxod502/radian/blob/3ae994990f6757d91e4b900a72e5541cc31b4318/emacs/radian.el#L508-L510

Should use straight-base-dir when non-nil instead of user-emacs-directory. Perhaps something like this

(expand-file-name
        "straight/repos/straight.el/bootstrap.el"
       (or (bound-and-true-p straight-base-dir)
            user-emacs-directory))
raxod502 commented 3 years ago

Yep, sounds about right. I've applied that fix to develop, thanks for pointing it out!