mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix +workspace/close-window-or-workspace treating everything as a popup
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user