diff options
author | John Wiegley <johnw@newartisans.com> | 2015-03-15 21:23:40 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-03-15 21:23:40 -0500 |
commit | 5c85433fac3d51f6df0a82d670b3c3a147d09164 (patch) | |
tree | 44169d425e7e82d479e18bf6fe7d522258b7b3d6 /lisp/use-package/use-package.el | |
parent | a2030288716a2aa315482fa265cc970b5a208703 (diff) | |
download | emacs-5c85433fac3d51f6df0a82d670b3c3a147d09164.tar.gz emacs-5c85433fac3d51f6df0a82d670b3c3a147d09164.tar.bz2 emacs-5c85433fac3d51f6df0a82d670b3c3a147d09164.zip |
Relax a path normalization check
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r-- | lisp/use-package/use-package.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index be4b0cd7c09..b843725eccb 100644 --- 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)) |