mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 11:49: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)
|
(let ((path (if (file-name-absolute-p arg)
|
||||||
arg
|
arg
|
||||||
(expand-file-name arg user-emacs-directory))))
|
(expand-file-name arg user-emacs-directory))))
|
||||||
(if (file-directory-p path)
|
(list path)))
|
||||||
(list path)
|
|
||||||
(use-package-error
|
|
||||||
(concat label " wants a directory path, or list of paths")))))
|
|
||||||
((and (not recursed) (listp arg) (listp (cdr arg)))
|
((and (not recursed) (listp arg) (listp (cdr arg)))
|
||||||
(mapcar #'(lambda (x)
|
(mapcar #'(lambda (x)
|
||||||
(car (use-package-normalize-paths label x t))) arg))
|
(car (use-package-normalize-paths label x t))) arg))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue