Annoyed by your windows being messed up by random buffers opening in them? #Emacs has the feature of "dedicated" windows, which will not fall victim to implicit buffer switching. With a little function and a keybind, you can toggle the dedication setting for individual windows.
Note that I force a mode-line update in the function because I configured my mode-line to indicate whether a window is dedicated and a change in dedication status does by default not trigger a mode-line update..
=> View attached media | View attached media
=> More informations about this toot | More toots from lhp@mastodon.social
text/gemini
This content has been proxied by September (ba2dc).