Tags: patch This patch ensures that we dismiss the completion preview when users switch to another window. Previously, the completion preview would remain in a window after switching to another window showing another buffer, since the `post-command-hook` that Completion Preview mode sets up locally doesn't run after a command switches to another buffer. Thanks, Eshel