Skip to content

How do I change load-path?

In general, you should only add to the load-path. You can add directory /dir/subdir to the load path like this:

emacs-lisp
(add-to-list 'load-path "/dir/subdir/")

To do this relative to your home directory:

emacs-lisp
(add-to-list 'load-path "~/mysubdir/")