spacemacs-base: simplify url init func

This commit is contained in:
syl20bnr 2015-10-10 23:54:09 -04:00
parent 0be2e58308
commit 4df7958115

View file

@ -47,7 +47,7 @@
subword
undo-tree
(uniquify :location built-in)
url
(url :location built-in)
use-package
which-key
whitespace
@ -1331,13 +1331,9 @@ ARG non nil means that the editing style is `vim'."
;; don't screw special buffers
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"))))
;; gravatars from magit use this to store their cache
(setq url-configuration-directory (concat spacemacs-cache-directory "url/")))
(defun spacemacs-base/init-use-package ())