mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
Relax a path normalization check
This commit is contained in:
parent
a203028871
commit
5c85433fac
1 changed files with 1 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue