Declare pcache-directory earlier in spacemacs-mode.el
This commit is contained in:
parent
402d6e9267
commit
fa2aa62f94
|
@ -26,6 +26,8 @@
|
||||||
(defconst spacemacs-cache-directory
|
(defconst spacemacs-cache-directory
|
||||||
(expand-file-name (concat user-emacs-directory ".cache/"))
|
(expand-file-name (concat user-emacs-directory ".cache/"))
|
||||||
"Spacemacs storage area for persistent files.")
|
"Spacemacs storage area for persistent files.")
|
||||||
|
(defconst pcache-directory
|
||||||
|
(concat spacemacs-cache-directory "pcache"))
|
||||||
(unless (file-exists-p spacemacs-cache-directory)
|
(unless (file-exists-p spacemacs-cache-directory)
|
||||||
(make-directory spacemacs-cache-directory))
|
(make-directory spacemacs-cache-directory))
|
||||||
(defconst user-dropbox-directory
|
(defconst user-dropbox-directory
|
||||||
|
|
|
@ -196,8 +196,6 @@ Can be installed with `brew install trash'."
|
||||||
(setq url-configuration-directory (concat spacemacs-cache-directory "url"))
|
(setq url-configuration-directory (concat spacemacs-cache-directory "url"))
|
||||||
;; eshell files
|
;; eshell files
|
||||||
(setq eshell-directory-name (concat spacemacs-cache-directory "eshell" ))
|
(setq eshell-directory-name (concat spacemacs-cache-directory "eshell" ))
|
||||||
;; pcache files
|
|
||||||
(setq pcache-directory (concat spacemacs-cache-directory "pcache" ))
|
|
||||||
;; Tramp history
|
;; Tramp history
|
||||||
(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp"))
|
(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue