feature/workspaces: fix recursive load errors on 25.x #470

+workspaces|protect-buffers-in-other-persps was unnecessary, in any
case.
This commit is contained in:
Henrik Lissner 2018-03-22 06:26:36 -04:00
parent 462b1f7853
commit d5683ba681
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 10 deletions

View file

@ -464,12 +464,6 @@ Allows a perspective-specific buffer list via `+workspaces-buffer-list'."
(persp-add-buffer (current-buffer) (get-current-persp) nil)
(force-mode-line-update t)))
;;;###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.