mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Set treemacs--last-error-persist-file later #1151
Because treemacs--last-error-persist-file is defined with defconst, its default value will overwrite our custom one once the treemacs-persistence package is loaded.
This commit is contained in:
@ -10,8 +10,10 @@
|
|||||||
treemacs-show-hidden-files t
|
treemacs-show-hidden-files t
|
||||||
treemacs-goto-tag-strategy 'refetch-index
|
treemacs-goto-tag-strategy 'refetch-index
|
||||||
treemacs-display-in-side-window t
|
treemacs-display-in-side-window t
|
||||||
treemacs-persist-file (concat doom-cache-dir "treemacs-persist")
|
treemacs-persist-file (concat doom-cache-dir "treemacs-persist"))
|
||||||
treemacs--last-error-persist-file (concat doom-cache-dir "treemacs-persist-at-last-error"))
|
|
||||||
|
(after! treemacs-persistence
|
||||||
|
(setq treemacs--last-error-persist-file (concat doom-cache-dir "treemacs-persist-at-last-error")))
|
||||||
|
|
||||||
|
|
||||||
(after! treemacs
|
(after! treemacs
|
||||||
|
Reference in New Issue
Block a user