From 7cb52419c95c0ebd8062b9250a0f69f516b571a5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 29 Mar 2016 01:08:29 -0400 Subject: [PATCH] helm-projectile: don't invalidate cache on exit --- core/core-helm.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/core-helm.el b/core/core-helm.el index 15523e908..c211be227 100644 --- a/core/core-helm.el +++ b/core/core-helm.el @@ -2,15 +2,13 @@ (use-package projectile :config - (add-hook! kill-emacs 'narf|projectile-invalidate-cache-maybe) - - (setq-default projectile-enable-caching t) (setq projectile-require-project-root nil projectile-enable-caching t projectile-cache-file (concat narf-temp-dir "/projectile.cache") projectile-known-projects-file (concat narf-temp-dir "/projectile.projects") projectile-indexing-method 'alien - projectile-project-root-files narf-project-root-files) + projectile-project-root-files narf-project-root-files + projectile-file-exists-remote-cache-expire nil) (push "ido.last" projectile-globally-ignored-files) (push "assets" projectile-globally-ignored-directories)