You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignore some project and then open some file in that project. You will see a message in the minibuffer that that file is getting cached (even when the project is ignored).
Environment & Version information
Projectile version information
Projectile version: 20160708.522
Emacs version
Emacs version: GNU Emacs 25.1.50.16 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
of 2016-07-10, built using commit 466ee1b3ea76425d201b5d59950e88251870c836.
Operating system
RHEL 6.6
My temporary solution
(defunmodi/advice-projectile-dont-cache-ignored-projects (&restargs)
"Do not cache files from ignored projects when doing `find-file'."
(let* ((project-root (projectile-project-p))
(do-not-cache (projectile-ignored-project-p project-root)))
do-not-cache))
(advice-add'projectile-cache-files-find-file-hook:before-until#'modi/advice-projectile-dont-cache-ignored-projects)
The text was updated successfully, but these errors were encountered:
Expected behavior
Files from ignored projects should not be cached.
Actual behavior
Files from ignored projects are cached.
Steps to reproduce the problem
Ignore some project and then open some file in that project. You will see a message in the minibuffer that that file is getting cached (even when the project is ignored).
Environment & Version information
Projectile version information
Emacs version
Operating system
RHEL 6.6
My temporary solution
The text was updated successfully, but these errors were encountered: