Emacs: Don't add non-existant dir to load path
This commit is contained in:
parent
12fbc83cc7
commit
06ff316f7f
1 changed files with 0 additions and 7 deletions
|
@ -34,13 +34,6 @@
|
||||||
self-built ~site-lisp~ directory in my load path *and* the "official"
|
self-built ~site-lisp~ directory in my load path *and* the "official"
|
||||||
one.
|
one.
|
||||||
|
|
||||||
#+NAME: load-site-lisps
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(mapc #'oni:add-all-to-load-path
|
|
||||||
'("/usr/share/emacs/site-lisp"
|
|
||||||
"/usr/local/emacs/share/emacs/site-lisp"))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
The =oni:add-all-to-load-path= function just binds =default-directory=
|
The =oni:add-all-to-load-path= function just binds =default-directory=
|
||||||
to the given directory and calls
|
to the given directory and calls
|
||||||
=normal-top-level-add-subdirs-to-load-path= to add it and all its
|
=normal-top-level-add-subdirs-to-load-path= to add it and all its
|
||||||
|
|
Loading…
Reference in a new issue