aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgcv <gepardcv@gmail.com>2022-03-19 21:22:54 -0700
committergcv <gepardcv@gmail.com>2022-03-19 21:26:06 -0700
commita14d4c26bbc7321f67c92d047ba3e20edb1a707d (patch)
tree08d61165f75706c1d700542fe08782090b66cc70
parenta34466feb5fb56589672bdd5fd563f7f7bee797e (diff)
Minor cleanup (whitespace, spelling, documentation).
-rw-r--r--README.md2
-rw-r--r--perspective.el4
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6023bfc..973bb0e 100644
--- a/README.md
+++ b/README.md
@@ -215,6 +215,8 @@ The actual command keys (the ones pressed after the prefix) are defined in
- `i` — `persp-import`: Import a given perspective from another frame.
- `n`, `<right>` — `persp-next`: Switch to next perspective
- `p`, `<left>` — `persp-prev`: Switch to previous perspective
+- `m` — `persp-merge`: Temporarily merge the buffers from one perspective into another
+- `C-m` — `persp-unmerge`: Undo the effects of a `persp-merge`
- `C-s` — `persp-state-save`: Save all perspectives in all frames to a file
- `C-l` — `persp-state-load`: Load all perspectives from a file
diff --git a/perspective.el b/perspective.el
index 3afb517..038f750 100644
--- a/perspective.el
+++ b/perspective.el
@@ -1716,7 +1716,7 @@ PERSP-SET-IDO-BUFFERS)."
windows)
(defun persp--state-complete-v2 (state-complete)
- "Apply this function to persp--state-complete structs to be guarenteed a
+ "Apply this function to persp--state-complete structs to be guaranteed a
persp--state-complete that is compatible with merge-list saving. Useful for
maintaining backwards compatibility."
(let* ((state-frames (persp--state-complete-frames state-complete))
@@ -1958,7 +1958,7 @@ restored."
;;; --- perspective merging
(defun persp-get-merge (base-name merged-name &optional frame)
- "Return a merge in FRAME with :base-perspective BASE-NAME and
+ "Return a merge in FRAME with :base-perspective BASE-NAME and
:merged-perspective MERGED-NAME."
(cl-find-if
(lambda (m)