(save-window-excursion
(mingus-switch-to-playlist)))```
This code basically relies on switching buffer and then switching back so fast that it's never rendered, but this causes problems with a few packages. Personally, I've experienced trouble with EXWM and ace-window.