on master help sign in
Add project directory to load-path
5aca756Radon Rosborough
prybar_assets/elisp/repl.el+3
@@ -55,6 +55,9 @@ handled, display the IELM buffer and return."
55 (lambda (face)
55 (lambda (face)
56 (set-face-attribute face nil :weight 'normal :underline nil))
56 (set-face-attribute face nil :weight 'normal :underline nil))
57 (face-list))
57 (face-list))
58+ ;; Make it so you can `load' or `require' files from the project
59+ ;; directory.
60+ (add-to-list 'load-path default-directory)
58 ;; IELM only supports PS1, not PS2.
61 ;; IELM only supports PS1, not PS2.
59 (with-prybar-config
62 (with-prybar-config
60 (eval exec (ps1 "--> ") quiet file)
63 (eval exec (ps1 "--> ") quiet file)