From 1467e674a726c68c720bc457aa5338a2e942bba2 Mon Sep 17 00:00:00 2001 From: Eric Danan Date: Mon, 3 Sep 2018 14:30:19 +0200 Subject: [PATCH] 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). --- counsel-projectile.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/counsel-projectile.el b/counsel-projectile.el index 5ebb5aa..89ab3f4 100644 --- a/counsel-projectile.el +++ b/counsel-projectile.el @@ -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)