mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
In certain edge cases, the buffer/window/frame switch would not make the new buffer/window/frame current, which is what the after switch hooks should reasonably expect, causing some shenanigans. For example, persp wouldn't register magit buffers because `doom-after-switch-buffer-hook` was run in the context of the previous buffer.