mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Cache project root earlier
So users can still change it with setq-hook! or their own hooks.
This commit is contained in:
@ -43,7 +43,7 @@ Emacs.")
|
||||
|
||||
;; REVIEW Resolve the project root once, when the file/buffer is opened. This
|
||||
;; speeds up projectile's project root resolution by leaps, but does
|
||||
;; put you at risk of having a stale project root.
|
||||
;; put you at risk of having a stale project root.
|
||||
(setq-hook! '(change-major-mode-after-body-hook
|
||||
;; In case the user saves the file to a new location
|
||||
after-save-hook
|
||||
|
Reference in New Issue
Block a user