mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-23 14:03:44 -05:00
The "current" window is forgotten by the time doom|protect-visible-buffers runs, so use get-buffer-window (native C function) to detect if another window housing this buffer exists.