Declare pcache-directory earlier in spacemacs-mode.el

This commit is contained in:
syl20bnr 2015-01-05 00:22:08 -05:00
parent 402d6e9267
commit fa2aa62f94
2 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,8 @@
(defconst spacemacs-cache-directory
(expand-file-name (concat user-emacs-directory ".cache/"))
"Spacemacs storage area for persistent files.")
(defconst pcache-directory
(concat spacemacs-cache-directory "pcache"))
(unless (file-exists-p spacemacs-cache-directory)
(make-directory spacemacs-cache-directory))
(defconst user-dropbox-directory

View File

@ -196,8 +196,6 @@ Can be installed with `brew install trash'."
(setq url-configuration-directory (concat spacemacs-cache-directory "url"))
;; eshell files
(setq eshell-directory-name (concat spacemacs-cache-directory "eshell" ))
;; pcache files
(setq pcache-directory (concat spacemacs-cache-directory "pcache" ))
;; Tramp history
(setq tramp-persistency-file-name (concat spacemacs-cache-directory "tramp"))