aboutsummaryrefslogtreecommitdiff
path: root/perspective.el
diff options
context:
space:
mode:
Diffstat (limited to 'perspective.el')
-rw-r--r--perspective.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/perspective.el b/perspective.el
index b0c439e..0e0eb4d 100644
--- a/perspective.el
+++ b/perspective.el
@@ -824,7 +824,7 @@ See also `persp-switch' and `persp-remove-buffer'."
;; go into an infinite loop.
(cl-loop for other-persp in (remove (persp-current-name) (persp-all-names))
do (with-perspective other-persp
- (persp-remove-buffer buffer))))))
+ (persp-forget-buffer buffer))))))
(cl-defun persp-buffer-in-other-p (buffer)
"Returns nil if BUFFER is only in the current perspective.