[ivy] Fix spacemacs/layouts-ts-close-other
Problem: It called: (spacemacs/helm-persp-close) Solution: Call (spacemacs/ivy-spacemacs-layout-close-other) when ivy is used.
This commit is contained in:
parent
86c4ca2133
commit
a7d45a5221
|
@ -1085,6 +1085,7 @@ Other:
|
||||||
- Replaced deprecated =avy--generic-jump= with =avy-jump=
|
- Replaced deprecated =avy--generic-jump= with =avy-jump=
|
||||||
(thanks to Dominik Schrempf)
|
(thanks to Dominik Schrempf)
|
||||||
- Switch recreated messages buffer to =evil-normal-state= (thanks to duianto)
|
- Switch recreated messages buffer to =evil-normal-state= (thanks to duianto)
|
||||||
|
- Fixed =spacemacs/layouts-ts-close-other= with =ivy= (thanks to duianto)
|
||||||
*** Layer changes and fixes
|
*** Layer changes and fixes
|
||||||
**** Agda
|
**** Agda
|
||||||
- Fixes
|
- Fixes
|
||||||
|
|
|
@ -200,7 +200,10 @@ ask the user if a new layout should be created."
|
||||||
|
|
||||||
(defun spacemacs/layouts-ts-close-other ()
|
(defun spacemacs/layouts-ts-close-other ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(call-interactively 'spacemacs/helm-persp-close)
|
(cond ((configuration-layer/layer-used-p 'helm)
|
||||||
|
(spacemacs/helm-persp-close))
|
||||||
|
((configuration-layer/layer-used-p 'ivy)
|
||||||
|
(spacemacs/ivy-spacemacs-layout-close-other)))
|
||||||
(spacemacs/layouts-transient-state/body))
|
(spacemacs/layouts-transient-state/body))
|
||||||
|
|
||||||
(defun spacemacs/layouts-ts-kill ()
|
(defun spacemacs/layouts-ts-kill ()
|
||||||
|
|
Loading…
Reference in a new issue