Skip to content

Commit

Permalink
don't add ~/.emacs.d/ to load-path user src subdir
Browse files Browse the repository at this point in the history
Very new versions of Emacs now complain about adding the base of the
~/.emacs.d/ directory to the load path.  Since the starter-kit suggests
placing source files into ~/.emacs.d/src/ instead of directly in
~/.emacs.d/, we may as well remove ~/.emacs.d/ from the load path as the
new Emacs warnings recommend.

I apologize if this change breaks anyone's existing config, although it
should be an easy fix, simply move all required .el files into the src/
subdirectory.
  • Loading branch information
eschulte committed Mar 10, 2014
1 parent 40fb7c2 commit a0e81cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion starter-kit.org
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ interested in the actual code implementing the starter kit.
- Load path etc.
#+name: starter-kit-load-paths
#+begin_src emacs-lisp
(add-to-list 'load-path starter-kit-dir)
(let ((elisp-dir (expand-file-name "src" starter-kit-dir)))
;; add the src directory to the load path
(add-to-list 'load-path elisp-dir)
Expand Down

0 comments on commit a0e81cb

Please sign in to comment.