Closed wyuenho closed 1 year ago
While this seems reasonable select-window
check check if the window is nil before calling as there is a small possibility no window can be found for the buffer.
done
Thanks! Could you merge the two commits and force push? Then I can edit the commit message to comply to GNU format.
done
Merged, thanks!
It is not always the case that Emacs will select the original buffer's window after killing the vundo buffer and window, this is especially true when using a window manager such as windows-purpose. This PR makes sure the original buffer's window is reselected after killing vundo's window.