Function: projectile-cache-files-find-file-hook
projectile-cache-files-find-file-hook is a byte-compiled function
defined in projectile.el.
Signature
(projectile-cache-files-find-file-hook)
Documentation
Function for caching files with find-file-hook.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;; cache opened files automatically to reduce the need for cache invalidation
(defun projectile-cache-files-find-file-hook ()
"Function for caching files with `find-file-hook'."
(let ((project-root (projectile-project-p)))
(when (and projectile-enable-caching
project-root
(not (projectile-ignored-project-p project-root)))
(projectile-cache-current-file))))