summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-27 09:57:46 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-27 09:57:46 -0700
commit2d25f1caf2b80b072d4319a1fdb9b28d5bd750c9 (patch)
treed97b95fdeec254aa08cdca988b5d23d49c945f17
parentec962dadb49ed742fb41617dde35d394c0d407f9 (diff)
downloaddotfiles-2d25f1caf2b80b072d4319a1fdb9b28d5bd750c9.tar.gz
comment
-rw-r--r--.emacs.d/init-spw.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index 7908852d..d34b1798 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -513,7 +513,12 @@ add places the library might be available to `load-path'."
;; ... and resettle old occupants of C-x <left> and C-x <right>. This is a
;; bit complicated but we want these commands to be easily repeatable but also
;; avoid setting a transient map containing self-insert chars, as might want
-;; to type those right after switching
+;; to type those right after switching.
+;;
+;; A possible improvement would be to have C-c b always take you back to the
+;; buffer you were in before starting to use these commands. E.g. C-c w
+;; <left> <left> C-c b would take you back to where you started, and then C-c
+;; b would take you back to where C-c w <left> <left> took you.
(defun spw/maybe-next-buffer ()
(interactive)
(cl-destructuring-bind