Skip to content

Conversation

@drcxd
Copy link

@drcxd drcxd commented Feb 4, 2026

  • switch-window.el: Use window-swap-states rather than `set-window-buffer' to avoid only changing buffer but not fringes/margins etc..

The original implementation would cause unexpected behavior if one of the window has enlarged fringe/margin to center the text. (See visual fill column.)

* switch-window.el: Use `window-swap-states` rather than
`set-window-buffer' to avoid only changing buffer but not
fringes/margins etc..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant