As described in the title above, the following code in config.el:

(add-load-path! "lisp")

adds "home/user/.emacs.d/lisp/lisp" to load-path instead of "/home/sati/.doom.d/lisp" where config.el lives. This is contrary to the documentation of add-load-path! that says:

Add DIRS to load-path, relative to the current file. (emphasis mine)

Funny thing is, when I instrument it with edebug and run the code, it adds the correct path to the list.

Wonder what is going on here.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.