Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 0aaeb4bd authored by Takafumi Arakaki's avatar Takafumi Arakaki

Do not add package dir to load-path if :load-path is nil

Fixes #632.
parent 20909f89
......@@ -164,7 +164,9 @@ entry."
"Return the list of absolute directory names to be added to
`load-path' by the named PACKAGE."
(let* ((source (el-get-package-def package))
(el-path (el-get-flatten (or (plist-get source :load-path) ".")))
(el-path (if (plist-member source :load-path)
(el-get-flatten (plist-get source :load-path))
(pkg-dir (el-get-package-directory package)))
(mapcar (lambda (p) (expand-file-name p pkg-dir)) el-path)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment