* src/window.c (select_window): Don't record_buffer while the invariant is