diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-09T13·41+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-17T10·56+0000 |
commit | b52d210b9bc70e1f5e4a7bc8077db50e8bea4cd5 (patch) | |
tree | d18da1ef49efff0cf5016211fcef45a1024545da /configs/shared/.emacs.d/wpc/struct.el | |
parent | ef881e059bc5573ceceb40fe757940dd1fc83733 (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