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:
Henrik Lissner 2018-08-27 20:04:50 +02:00
parent 6318572d10
commit bd7f1f6d17
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)