diff --git a/modules/feature/workspaces/test/autoload-workspaces.el b/modules/feature/workspaces/test/autoload-workspaces.el index 6367400ed..acd647ba9 100644 --- a/modules/feature/workspaces/test/autoload-workspaces.el +++ b/modules/feature/workspaces/test/autoload-workspaces.el @@ -14,7 +14,8 @@ (require 'persp-mode) (let (noninteractive) (persp-mode +1)) - (+workspace-switch +workspaces-main t) + (let (persp-before-switch-functions persp-activated-functions) + (+workspace-switch +workspaces-main t)) (let* (,@buffers) (cl-loop with persp = (get-current-persp) for buf in (list ,@(mapcar #'car buffers))