Skip to content

Commit a0e81cb

Browse files
committed
don't add ~/.emacs.d/ to load-path user src subdir
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.
1 parent 40fb7c2 commit a0e81cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

starter-kit.org

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ interested in the actual code implementing the starter kit.
239239
- Load path etc.
240240
#+name: starter-kit-load-paths
241241
#+begin_src emacs-lisp
242-
(add-to-list 'load-path starter-kit-dir)
243242
(let ((elisp-dir (expand-file-name "src" starter-kit-dir)))
244243
;; add the src directory to the load path
245244
(add-to-list 'load-path elisp-dir)

0 commit comments

Comments
 (0)