From 5c85433fac3d51f6df0a82d670b3c3a147d09164 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Mar 2015 21:23:40 -0500 Subject: [PATCH] Relax a path normalization check --- lisp/use-package/use-package.el | 5 +---- 1 file changed, 1 insertion(+), 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)) -- 2.39.2