From 10bfda23512309eb098fa9843ec3ec6119f135c5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Aug 2025 01:30:12 +0200 Subject: [PATCH] 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: a1121acc94dd --- modules/term/eshell/autoload/eshell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)