mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix hash-table-p errors loading projectile
I was reading from a file without making sure it exists!
This commit is contained in:
@ -124,7 +124,9 @@ c) are not valid projectile projects."
|
|||||||
`projectile-files-cache-expire' checks won't reset when restarting Emacs."
|
`projectile-files-cache-expire' checks won't reset when restarting Emacs."
|
||||||
:before #'projectile-serialize-cache
|
:before #'projectile-serialize-cache
|
||||||
(projectile-serialize projectile-projects-cache-time doom-projectile-cache-timer-file))
|
(projectile-serialize projectile-projects-cache-time doom-projectile-cache-timer-file))
|
||||||
;; Restore it
|
;; Restore it
|
||||||
|
(when (file-readable-p doom-projectile-cache-timer-file)
|
||||||
|
(setq projectile-projects-cache-time
|
||||||
(projectile-unserialize doom-projectile-cache-timer-file)))
|
(projectile-unserialize doom-projectile-cache-timer-file)))
|
||||||
|
|
||||||
(def-advice! doom--projectile-default-generic-command-a (orig-fn &rest args)
|
(def-advice! doom--projectile-default-generic-command-a (orig-fn &rest args)
|
||||||
|
Reference in New Issue
Block a user