about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/struct.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-09T13·41+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·56+0000
commitb52d210b9bc70e1f5e4a7bc8077db50e8bea4cd5 (patch)
treed18da1ef49efff0cf5016211fcef45a1024545da /configs/shared/.emacs.d/wpc/struct.el
parentef881e059bc5573ceceb40fe757940dd1fc83733 (diff)
Support cycle/previous-focus
Define a `cycle/previous-focus` function that returns the item that was
previously "focused" in the cycle. This is helpful for toggling back-and-forth
between buffers and EXWM workspaces for example without needing to define ad-hoc
variables to support it.

Also: Adds tests to cycle.el.

Also: Prefers `struct/set!` instead of `setf`. See the previous commit's message
for more information about that preference.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/struct.el')
0 files changed, 0 insertions, 0 deletions