From: John Wiegley Date: Mon, 16 Mar 2015 02:23:40 +0000 (-0500) Subject: Relax a path normalization check X-Git-Tag: emacs-29.0.90~1306^2~15^2~385 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c85433fac3d51f6df0a82d670b3c3a147d09164;p=emacs.git Relax a path normalization check --- 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))