mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08: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:
parent
c64ca09ed2
commit
10bfda2351
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue