Fix projectile-generic-command
At init time, the fallback is undefined. Instead, only call setq in the first place on Windows.
This commit is contained in:
parent
19bb890402
commit
112b9507ca
|
@ -3211,14 +3211,13 @@ one of `l' or `r'."
|
|||
projectile-vc)
|
||||
:init
|
||||
(progn
|
||||
;; note for Windows: GNU find or Cygwin find must be in path
|
||||
;; default parameters are not supported on Windows, we default
|
||||
;; to simplest call to find.
|
||||
(when (system-is-mswindows)
|
||||
(setq projectile-generic-command "find . -type f"))
|
||||
(setq projectile-enable-caching t
|
||||
projectile-indexing-method 'alien
|
||||
;; note for Windows: GNU find or Cygwin find must be in path
|
||||
;; default parameters are not supported on Windows, we default
|
||||
;; to simplest call to find.
|
||||
projectile-generic-command (if (system-is-mswindows)
|
||||
"find . -type f"
|
||||
projectile-generic-command)
|
||||
projectile-sort-order 'recentf
|
||||
projectile-cache-file (concat spacemacs-cache-directory
|
||||
"projectile.cache")
|
||||
|
|
Loading…
Reference in a new issue