diff --git a/doc/modules/ROOT/pages/configuration.adoc b/doc/modules/ROOT/pages/configuration.adoc index f0cffc0f7..59ee9079e 100644 --- a/doc/modules/ROOT/pages/configuration.adoc +++ b/doc/modules/ROOT/pages/configuration.adoc @@ -151,12 +151,12 @@ be added to the cache automatically the first time you open them. The project cache is persistent and will be preserved during Emacs restarts. Each project gets its own cache file, that will be placed in the root folder of the -project. The name of the cache file is `.projectile.cache` by default, but you can tweak it +project. The name of the cache file is `.projectile-cache.eld` by default, but you can tweak it if you want to: [source,elisp] ---- -(setq projectile-cache-file "foo.bar") +(setq projectile-cache-file "foo.eld") ---- The cache file will be loaded automatically in memory the first time you trigger diff --git a/projectile.el b/projectile.el index 804445e41..ce041cda3 100644 --- a/projectile.el +++ b/projectile.el @@ -224,7 +224,7 @@ When nil Projectile will consider the current directory the project root." :group 'projectile :type 'string) -(defcustom projectile-cache-file ".projectile.cache" +(defcustom projectile-cache-file ".projectile-cache.eld" "The name of Projectile's cache. It's relative to the project root." :group 'projectile