feature/workspaces: disable magit persisting

Too buggy!
This commit is contained in:
Henrik Lissner 2018-06-19 16:43:28 +02:00
parent 3b528302b2
commit af350aa09e
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -151,11 +151,6 @@ Uses `+workspaces-main' to determine the name of the main workspace."
:mode 'compilation-mode :tag-symbol 'def-compilation-buffer
:save-vars
'(major-mode default-directory compilation-directory compilation-environment compilation-arguments))
;; magit-status
(persp-def-buffer-save/load
:mode 'magit-status-mode :tag-symbol 'def-magit-status-buffer
:save-vars '(major-mode default-directory)
:after-load-function (lambda (b &rest _) (with-current-buffer b (magit-refresh))))
;; Restore indirect buffers
(defvar +workspaces--indirect-buffers-to-restore nil)
(persp-def-buffer-save/load