about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/buffer.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-09T14·01+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·56+0000
commit71c24104eb1de3e86feca3fb547d73df75481660 (patch)
tree8ef6af723f892457c3de6d1c4870a8e9e498ab89 /configs/shared/.emacs.d/wpc/buffer.el
parent1399eae319a56c3867110118252f1253ad8fd50c (diff)
Refactor MRU EXWM workspace using cycle/focus-previous!
Instead of consuming `cycle/previous-focus`, define a function
`cycle/focus-previous!` that "focuses" the element at `previous-index` and
returns that element.

This function greatly simplified the code in window-manager.el and eliminated
the unnecessary `exwm/previous-workspace` variable that was managing the state.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/buffer.el')
0 files changed, 0 insertions, 0 deletions