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:
Henrik Lissner 2019-03-24 12:35:38 -04:00
parent cc20b28c26
commit ab93ee8e75
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -55,7 +55,7 @@ Uses `+workspaces-main' to determine the name of the main workspace."
(unless persp-mode
(persp-mode +1)
(unless noninteractive
(let (persp-before-switch-functions persp-activated-functions)
(let (persp-before-switch-functions)
(with-selected-frame frame
;; The default perspective persp-mode creates (`persp-nil-name') is
;; special and doesn't represent a real persp object, so buffers can't