mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Prioritize site-lisp when loading libraries
This commit is contained in:
parent
c573f247f1
commit
8186851085
6
init.org
6
init.org
@ -288,8 +288,10 @@
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(let ((default-directory (concat user-emacs-directory "site-lisp/")))
|
||||
(when (file-exists-p default-directory)
|
||||
(normal-top-level-add-to-load-path '("."))
|
||||
(normal-top-level-add-subdirs-to-load-path)))
|
||||
(setq load-path
|
||||
(append
|
||||
(let ((load-path (copy-sequence load-path)))
|
||||
(normal-top-level-add-subdirs-to-load-path)) load-path))))
|
||||
#+END_SRC
|
||||
|
||||
Answering /yes/ and /no/ to each question from Emacs can be tedious, a
|
||||
|
Loading…
Reference in New Issue
Block a user