mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
core-project: fix projectile caching error when buffer-file-name is nil
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
|
||||
(defun doom*projectile-cache-current-file (orig-fun &rest args)
|
||||
"Don't cache ignored files."
|
||||
(unless (cl-loop for path in (projectile-ignored-directories)
|
||||
(unless (cl-loop for path in (projectile-ignored-directories)
|
||||
if (string-prefix-p (or buffer-file-name "") (expand-file-name path))
|
||||
return t)
|
||||
(apply orig-fun args)))
|
||||
|
Reference in New Issue
Block a user