aboutsummaryrefslogtreecommitdiff
path: root/perspective.el
diff options
context:
space:
mode:
authorConstantine Vetoshev <gepardcv@gmail.com>2021-06-09 17:01:54 -0700
committerConstantine Vetoshev <gepardcv@gmail.com>2021-06-09 17:01:54 -0700
commit9a5c5d81fb9c3065dc6ab5eaeb4b2c9733e772f9 (patch)
treeb044cb80899ece86c0babb5fbf850d1c33839d7f /perspective.el
parent9cfc070245ea4d31b3099bf5de9b727a57337d85 (diff)
Clean up the xref marker ring for removed perspectives.
Diffstat (limited to 'perspective.el')
-rw-r--r--perspective.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/perspective.el b/perspective.el
index 0f1f497..a0a9f60 100644
--- a/perspective.el
+++ b/perspective.el
@@ -863,6 +863,7 @@ perspective and no others are killed."
(mapc 'persp-remove-buffer (persp-current-buffers))
(setf (persp-killed (persp-curr)) t))
(remhash name (perspectives-hash))
+ (remhash name persp--xref-marker-ring)
(persp-update-modestring)
(when (and (persp-last) (equal name (persp-name (persp-last))))
(set-frame-parameter