Elisp: Load Path
load-path
- load-path
-
List of directories to search for files to load, by
load
,load-file
,require
etc.🛑 WARNING: by emacs convention, dir path always ends in a slash. so, you should make sure your dir path ends in a slash. you can call
directory-file-name
.
Sample Value
("c:/Users/xah/git/xah_emacs_init/" "c:/Users/xah/git/xahemacs/packages/" "c:/Users/xah/git/xahemacs/" "c:/Users/xah/.emacs.d/elpa/elfeed-20221108.755" "c:/Users/xah/.emacs.d/elpa/markdown-mode-20240501.1057" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/site-lisp" "c:/Users/xah/bin/emacs-29.4/share/emacs/site-lisp" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/vc" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/use-package" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/url" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/textmodes" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/progmodes" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/play" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/org" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/nxml" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/net" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/mh-e" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/mail" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/leim" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/language" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/international" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/image" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/gnus" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/eshell" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/erc" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/emulation" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/emacs-lisp" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/cedet" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/calendar" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/calc" "c:/Users/xah/bin/emacs-29.4/share/emacs/29.4/lisp/obsolete")