Emacs: projectile: Don't turn caching on 2 times.
This commit is contained in:
parent
55de2e863f
commit
2cd63f065b
|
@ -88,11 +88,7 @@ Ignores ARGS."
|
|||
:before #'my/projectile-enable-caching?)
|
||||
|
||||
(defun my/switch-project ()
|
||||
"Find file in project, add project to `treemacs' and
|
||||
collapse other projects."
|
||||
; Enable caching maybe before listing files.
|
||||
(my/projectile-enable-caching?)
|
||||
|
||||
"Find file in project, add project to `treemacs' and collapse other projects."
|
||||
(if (member 'counsel-projectile-mode minor-mode-list)
|
||||
(counsel-projectile-find-file)
|
||||
(projectile-find-file))
|
||||
|
|
Loading…
Reference in New Issue
Block a user