projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bde0b4
)
If :load-path is absolute, don't expand it
author
John Wiegley
<johnw@newartisans.com>
Sun, 17 Jun 2012 21:44:49 +0000
(16:44 -0500)
committer
John Wiegley
<johnw@newartisans.com>
Sun, 17 Jun 2012 21:44:49 +0000
(16:44 -0500)
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index b1004b3dbe20d6cd2fa2050acc66bf4aa380911e..8c8fd27f28d38f87b58c77b821734da634342b2c 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-323,7
+323,9
@@
,@(mapcar
#'(lambda (path)
`(add-to-list 'load-path
- ,(expand-file-name path user-emacs-directory)))
+ ,(if (file-name-absolute-p path)
+ path
+ (expand-file-name path user-emacs-directory))))
(if (stringp pkg-load-path)
(list pkg-load-path)
pkg-load-path))