fix(eshell): +eshell-switch-workspace-fn: update signature

The signature of `persp-activated-functions` changed upstream in
persp-mode (bumped in a1121ac), causing arity errors when :term eshell
users switch workspaces.

Ref: #8454
Amend: a1121acc94
This commit is contained in:
Henrik Lissner
2025-08-11 01:30:12 +02:00
parent c64ca09ed2
commit 10bfda2351

View File

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