diff --git a/modules/term/eshell/autoload/eshell.el b/modules/term/eshell/autoload/eshell.el index 3414e7793..933d4f941 100644 --- a/modules/term/eshell/autoload/eshell.el +++ b/modules/term/eshell/autoload/eshell.el @@ -329,7 +329,7 @@ delete." return (select-window win)))))))))) ;;;###autoload -(defun +eshell-switch-workspace-fn (type) +(defun +eshell-switch-workspace-fn (type &rest _) (when (eq type 'frame) (setq +eshell-buffers (or (persp-parameter 'eshell-buffers)