Fix +workspace/close-window-or-workspace treating everything as a popup
This commit is contained in:
parent
776533adb7
commit
e9b5ab2385
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ end of the workspace list."
|
||||||
the workspace and move to the next."
|
the workspace and move to the next."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((delete-window-fn (if (featurep 'evil) #'evil-window-delete #'delete-window)))
|
(let ((delete-window-fn (if (featurep 'evil) #'evil-window-delete #'delete-window)))
|
||||||
(if (window-at-side-p)
|
(if (window-dedicated-p)
|
||||||
(funcall delete-window-fn)
|
(funcall delete-window-fn)
|
||||||
(let ((current-persp-name (+workspace-current-name)))
|
(let ((current-persp-name (+workspace-current-name)))
|
||||||
(cond ((or (+workspace--protected-p current-persp-name)
|
(cond ((or (+workspace--protected-p current-persp-name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue