mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
feature/workspaces: fix buffer getting killed across workspaces
This commit is contained in:
@@ -453,6 +453,12 @@ the next."
|
||||
;; Hooks
|
||||
;;
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspaces|protect-buffers-in-other-persps ()
|
||||
"Return nil if this buffer is present in other perspectives/workspaces (bury
|
||||
it, don't kill it)."
|
||||
(not (persp-other-persps-with-buffer-except-nil (current-buffer))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspaces|delete-associated-workspace (&optional frame)
|
||||
"Delete workspace associated with current frame.
|
||||
|
Reference in New Issue
Block a user