Emacs: Don't add non-existant dir to load path

This commit is contained in:
Tom Willemsen 2013-01-04 01:06:06 +01:00
parent 12fbc83cc7
commit 06ff316f7f

View file

@ -34,13 +34,6 @@
self-built ~site-lisp~ directory in my load path *and* the "official"
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=
to the given directory and calls
=normal-top-level-add-subdirs-to-load-path= to add it and all its