public
Created

Add external projects to Emacs load path

  • Download Gist
init.el
Emacs Lisp
1 2 3 4 5 6 7 8 9
(setq abg-elisp-external-dir
(expand-file-name "external" abg-elisp-dir))
 
; ...
 
; Add external projects to load path
(dolist (project (directory-files abg-elisp-external-dir t "\\w+"))
(when (file-directory-p project)
(add-to-list 'load-path project)))

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.