mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feature/workspaces: fix flipped condition on after-init-hook
This commit is contained in:
@ -50,7 +50,7 @@ renamed.")
|
|||||||
;; main workspace to fill this role.
|
;; main workspace to fill this role.
|
||||||
(persp-add-new +workspaces-main)
|
(persp-add-new +workspaces-main)
|
||||||
;; Switch to it if we aren't auto-loading the last session
|
;; 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)))
|
(persp-frame-switch +workspaces-main)))
|
||||||
|
|
||||||
(define-key persp-mode-map [remap delete-window] '+workspace/close-window-or-workspace)
|
(define-key persp-mode-map [remap delete-window] '+workspace/close-window-or-workspace)
|
||||||
|
Reference in New Issue
Block a user