fix(workspaces): arity error creating workspaces

The signature of persp-window-state-get-function changed upstream in
persp-mode (bumped in a1121ac).

Fix: #8454
Amend: a1121acc94
This commit is contained in:
Henrik Lissner
2025-08-11 01:19:43 +02:00
parent 9a38ee2428
commit c64ca09ed2

View File

@@ -155,8 +155,7 @@ Otherwise return t on success, nil otherwise."
(+popup--inhibit-transient t))
(persp-delete-other-windows))
(switch-to-buffer (doom-fallback-buffer))
(setf (persp-window-conf persp)
(funcall persp-window-state-get-function (selected-frame))))
(setf (persp-window-conf persp) (persp-window-state-get)))
persp))
;;;###autoload