mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
fix(workspaces): arity error creating workspaces
The signature of persp-window-state-get-function changed upstream in persp-mode (bumped ina1121ac
). Fix: #8454 Amend:a1121acc94
This commit is contained in:
@@ -155,8 +155,7 @@ Otherwise return t on success, nil otherwise."
|
|||||||
(+popup--inhibit-transient t))
|
(+popup--inhibit-transient t))
|
||||||
(persp-delete-other-windows))
|
(persp-delete-other-windows))
|
||||||
(switch-to-buffer (doom-fallback-buffer))
|
(switch-to-buffer (doom-fallback-buffer))
|
||||||
(setf (persp-window-conf persp)
|
(setf (persp-window-conf persp) (persp-window-state-get)))
|
||||||
(funcall persp-window-state-get-function (selected-frame))))
|
|
||||||
persp))
|
persp))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user