feature/workspaces: fix flipped condition on after-init-hook

This commit is contained in:
Henrik Lissner 2017-04-16 16:45:21 -04:00
parent 1c31381bfd
commit 0f16bcd04e

View file

@ -50,7 +50,7 @@ renamed.")
;; main workspace to fill this role.
(persp-add-new +workspaces-main)
;; Switch to it if we aren't auto-loading the last session
(unless (= persp-auto-resume-time -1)
(when (= persp-auto-resume-time -1)
(persp-frame-switch +workspaces-main)))
(define-key persp-mode-map [remap delete-window] '+workspace/close-window-or-workspace)