From 12b9ad4fea10e1b0e213e8466cbe3eff8543dab8 Mon Sep 17 00:00:00 2001 From: taoufik07 Date: Wed, 9 Oct 2024 00:37:49 +0200 Subject: [PATCH] fix projectile hanging on non vc tracked dirs Issue tracked here: https://github.com/bbatsov/projectile/issues/1905 --- conf/init-misc-packages.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/init-misc-packages.el b/conf/init-misc-packages.el index e7015fe..2b29b24 100644 --- a/conf/init-misc-packages.el +++ b/conf/init-misc-packages.el @@ -16,9 +16,10 @@ (use-package projectile :ensure t - :bind ("M-p" . 'projectile-command-map) :init (projectile-mode) + (remove-hook 'buffer-list-update-hook #'projectile-track-known-projects-find-file-hook) + :bind ("M-p" . 'projectile-command-map) :custom ((setq projectile-enable-caching t) (setq projectile-switch-project-action 'projectile-dired) (setq projectile-completion-system 'default)))