Skip to content

Instantly share code, notes, and snippets.

@matthew-ball
Created May 11, 2012 04:04
Show Gist options
  • Save matthew-ball/2657456 to your computer and use it in GitHub Desktop.
Save matthew-ball/2657456 to your computer and use it in GitHub Desktop.
;; WARNING: this requires ELPA has been run and created its directory (or just create the ELPA directory first)
(let ((default-directory (concat (expand-file-name user-emacs-directory) "elpa/")))
(normal-top-level-add-subdirs-to-load-path)) ;; NOTE: recursively add sub-directories to load-path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment