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 ()
(use-package desktop
:defer t
:init
(setq desktop-dirname spacemacs-cache-directory)
:config
(progn
(setq desktop-dirname spacemacs-cache-directory)
(push spacemacs-cache-directory desktop-path))))
(push spacemacs-cache-directory desktop-path)))
(defun spacemacs-ui/init-doc-view ()
(use-package doc-view