aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Hubbard <nicholashubbard@posteo.net>2022-03-10 14:23:15 -0500
committerNicholas Hubbard <nicholashubbard@posteo.net>2022-03-10 14:23:15 -0500
commit3b6f0cd5efd255805a51b384a3483e34c04e9be9 (patch)
tree37917fcd99b973628933fb2791b68bab3f8b83c2
parent085c268c7c01df9e92f13dafc0ec8efc535ee2e5 (diff)
Document persp--state-complete-v2.
-rw-r--r--perspective.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/perspective.el b/perspective.el
index 59fbd2e..8619d42 100644
--- a/perspective.el
+++ b/perspective.el
@@ -1696,8 +1696,9 @@ PERSP-SET-IDO-BUFFERS)."
windows)
(defun persp--state-complete-v2 (state-complete)
- "If STATE-COMPLETE has a frames version 1 field then coerce its frames into
-persp--state-frame-v2 struct."
+ "Return a persp--state-complete struct based off of STATE-COMPLETE that is
+guarenteed to be compatible with perspective state version 2 which supports
+saving perspective merge lists."
(let* ((state-frames (persp--state-complete-frames state-complete))
(state-frames-v2
(mapcar (lambda (state-frame)