fix: +default/discover-projects not reading depth
Fix: #5736 Fix: #5735
This commit is contained in:
parent
8886216874
commit
a7d30f6853
1 changed files with 4 additions and 3 deletions
|
@ -50,9 +50,10 @@ If prefix ARG is non-nil, prompt for the search path."
|
|||
(funcall projectile-add-known-project project-root)
|
||||
(message "Added %S to known project roots" project-root)))
|
||||
(dolist (dir projectile-project-search-path)
|
||||
(cl-destructuring-bind (dir . depth) (if (consp dir) dir (cons dir nil))
|
||||
(if (not (file-accessible-directory-p dir))
|
||||
(message "%S was inaccessible and couldn't searched" dir)
|
||||
(projectile-discover-projects-in-directory dir)))))))
|
||||
(message "%S was inaccessible and couldn't be searched" dir)
|
||||
(projectile-discover-projects-in-directory dir depth))))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +default/dired (arg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue