counsel-projectile: fix misplaced arg

This commit is contained in:
Eric Danan 2016-09-14 09:17:24 +02:00
parent fdd836816a
commit c01f34d7f5

View file

@ -174,8 +174,8 @@ With a prefix ARG invokes `projectile-commander' instead of `projectile-switch-p
With a prefix ARG invalidates the cache first." With a prefix ARG invalidates the cache first."
(interactive "P") (interactive "P")
(if (projectile-project-p) (if (projectile-project-p)
(counsel-projectile-find-file) (counsel-projectile-find-file arg)
(counsel-projectile-switch-project arg))) (counsel-projectile-switch-project)))
;;; key bindings ;;; key bindings