cp-rg: Always specify path

Explicitly specify `.` if there is no path specification from the
project dirconfig file. This seems to be needed on Windows (see #100).
This commit is contained in:
Eric Danan 2018-09-03 14:30:19 +02:00
parent efa3a2f478
commit 1467e674a7

View file

@ -791,8 +791,9 @@ is called with a prefix argument."
(interactive)
(let* ((path
(mapconcat 'shell-quote-argument
(projectile-normalise-paths
(car (projectile-parse-dirconfig-file)))
(or (projectile-normalise-paths
(car (projectile-parse-dirconfig-file)))
'("."))
" "))
(ignored
(mapconcat (lambda (i)