Set desktop-dirname during init

This commit is contained in:
Eivind Fonn 2016-08-02 15:21:42 +02:00
parent 989dd3d774
commit 4298469f17

View file

@ -87,10 +87,10 @@
(defun spacemacs-ui/init-desktop () (defun spacemacs-ui/init-desktop ()
(use-package desktop (use-package desktop
:defer t :defer t
:config :init
(progn
(setq desktop-dirname spacemacs-cache-directory) (setq desktop-dirname spacemacs-cache-directory)
(push spacemacs-cache-directory desktop-path)))) :config
(push spacemacs-cache-directory desktop-path)))
(defun spacemacs-ui/init-doc-view () (defun spacemacs-ui/init-doc-view ()
(use-package doc-view (use-package doc-view