projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a203028
)
Relax a path normalization check
author
John Wiegley
<johnw@newartisans.com>
Mon, 16 Mar 2015 02:23:40 +0000
(21:23 -0500)
committer
John Wiegley
<johnw@newartisans.com>
Mon, 16 Mar 2015 02:23:40 +0000
(21:23 -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 be4b0cd7c09a7d3ff7d702608b1d9e42117173a2..b843725eccbbd752c9e44b05f586f2e68943cdf0 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-228,10
+228,7
@@
the user specified.")
(let ((path (if (file-name-absolute-p arg)
arg
(expand-file-name arg user-emacs-directory))))
- (if (file-directory-p path)
- (list path)
- (use-package-error
- (concat label " wants a directory path, or list of paths")))))
+ (list path)))
((and (not recursed) (listp arg) (listp (cdr arg)))
(mapcar #'(lambda (x)
(car (use-package-normalize-paths label x t))) arg))