Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projectile cache remains empty #493

Closed
syl20bnr opened this issue Oct 29, 2014 · 1 comment
Closed

Projectile cache remains empty #493

syl20bnr opened this issue Oct 29, 2014 · 1 comment

Comments

@syl20bnr
Copy link
Contributor

In my attempt to lazy load projectile I wrapped some projectile functions which evaluates projectile-global-mode before executing the function [1].

It seems to work but the cache file remains empty, its content is always the same:

#s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ())

projectile-cache-file value is /home/sbenner/.emacs.d/projectile.cache.

Do you spot anything wrong ?

[1] https://github.com/syl20bnr/spacemacs/blob/develop/spacemacs/packages.el#L1568

@syl20bnr
Copy link
Contributor Author

Found the issue.

First I had to explicitly enable projectile-enable-caching.
Then I had to explicitly call projectile-global-mode (even though I used projectile-commander autoload)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant