mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/workspaces: don't unbind persp-activated-functions
This was initially done to prevent eager-loading packages at startup, but +workspaces|init-frame happens early enough that nothing has been added to persp-activated-functions at this point anyway. Also addresses an issue where better-jumper couldn't initialize when main is created.
This commit is contained in:
@ -55,7 +55,7 @@ Uses `+workspaces-main' to determine the name of the main workspace."
|
|||||||
(unless persp-mode
|
(unless persp-mode
|
||||||
(persp-mode +1)
|
(persp-mode +1)
|
||||||
(unless noninteractive
|
(unless noninteractive
|
||||||
(let (persp-before-switch-functions persp-activated-functions)
|
(let (persp-before-switch-functions)
|
||||||
(with-selected-frame frame
|
(with-selected-frame frame
|
||||||
;; The default perspective persp-mode creates (`persp-nil-name') is
|
;; The default perspective persp-mode creates (`persp-nil-name') is
|
||||||
;; special and doesn't represent a real persp object, so buffers can't
|
;; special and doesn't represent a real persp object, so buffers can't
|
||||||
|
Reference in New Issue
Block a user