Fix wrong-type-arg on project switch #836
A regression caused by e40a58c4
, which made +workspace-new return
something other than a perspective struct.
This commit is contained in:
parent
6318572d10
commit
bd7f1f6d17
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ Otherwise return t on success, nil otherwise."
|
||||||
(delete-other-windows)
|
(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)
|
||||||
(funcall persp-window-state-get-function (selected-frame))))))
|
(funcall persp-window-state-get-function (selected-frame))))
|
||||||
|
persp))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +workspace-rename (name new-name)
|
(defun +workspace-rename (name new-name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue