core: add support for local directory

This commit is contained in:
syl20bnr 2015-08-11 19:45:28 -04:00
parent 711c37e9bc
commit 4148fdff56
1 changed files with 2 additions and 0 deletions

View File

@ -646,6 +646,8 @@ LAYERS is a list of layer symbols."
(let* ((owner (object-assoc (oref pkg :owner)
:name configuration-layer-layers))
(dir (oref owner :dir)))
(push (format "%slocal/%S/" dir pkg-name) load-path)
;; TODO remove extensions in 0.105.0
(push (format "%sextensions/%S/" dir pkg-name) load-path))
(configuration-layer//configure-package pkg))
(t