Skip to content

Instantly share code, notes, and snippets.

@hsaito
Created May 25, 2015 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsaito/1a6682fcabfdaf085d2e to your computer and use it in GitHub Desktop.
Save hsaito/1a6682fcabfdaf085d2e to your computer and use it in GitHub Desktop.
Load all subdirectory
;; Site Lisp Path
(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
(let* ((my-lisp-dir "~/.emacs.d/site-lisp/")
(default-directory my-lisp-dir))
(setq load-path (cons my-lisp-dir load-path))
(normal-top-level-add-subdirs-to-load-path)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment