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.