mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
fix(eshell): +eshell-switch-workspace-fn: update signature
The signature of `persp-activated-functions` changed upstream in persp-mode (bumped ina1121ac
), causing arity errors when :term eshell users switch workspaces. Ref: #8454 Amend:a1121acc94
This commit is contained in:
@@ -329,7 +329,7 @@ delete."
|
|||||||
return (select-window win))))))))))
|
return (select-window win))))))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +eshell-switch-workspace-fn (type)
|
(defun +eshell-switch-workspace-fn (type &rest _)
|
||||||
(when (eq type 'frame)
|
(when (eq type 'frame)
|
||||||
(setq +eshell-buffers
|
(setq +eshell-buffers
|
||||||
(or (persp-parameter 'eshell-buffers)
|
(or (persp-parameter 'eshell-buffers)
|
||||||
|
Reference in New Issue
Block a user