Make Gravatar cache go into Spacemacs cache dir

This commit is contained in:
Diego Berrocal 2015-10-09 20:04:37 -04:00 committed by syl20bnr
parent cd702e0fd7
commit 0be2e58308

View file

@ -47,6 +47,7 @@
subword subword
undo-tree undo-tree
(uniquify :location built-in) (uniquify :location built-in)
url
use-package use-package
which-key which-key
whitespace whitespace
@ -1330,6 +1331,14 @@ ARG non nil means that the editing style is `vim'."
;; don't screw special buffers ;; don't screw special buffers
uniquify-ignore-buffers-re "^\\*")) uniquify-ignore-buffers-re "^\\*"))
;; gravatars from magit use this to store their cache
(defun spacemacs-base/init-url ()
(use-package url
:defer t
:init
(setq url-configuration-directory
(concat spacemacs-cache-directory "url"))))
(defun spacemacs-base/init-use-package ()) (defun spacemacs-base/init-use-package ())
(defun spacemacs-base/init-which-key () (defun spacemacs-base/init-which-key ()