branch: externals/setup
commit 2503ad033299f52e0ab11df3e446d2420dc445a0
Author: Philip K <phil...@posteo.net>
Commit: Philip K <phil...@posteo.net>

    Expand load path for :load-from
---
 setup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.el b/setup.el
index 11babe7..8e46680 100644
--- a/setup.el
+++ b/setup.el
@@ -496,7 +496,7 @@ the first PACKAGE."
 
 (setup-define :load-from
   (lambda (path)
-    `(add-to-list 'load-path ,path))
+    `(add-to-list 'load-path (expand-file-name ,path)))
   :documentation "Add PATH to load path.
 This macro can be used as HEAD, and it will replace itself with
 the nondirectory part of PATH."

Reply via email to