Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Another try to fix #1772: avoid to erase non-minibuffers content #1857
I can still reproduce the original bug:
sometimes when starting for instance counsel-rg and maintaining M-j pressed, the buffer where counsel-rg has been called is erased.
Hence propagate the fix so that the body of ivy--insert-minibuffer is protected against window changes.
Question @abo-abo should we keep functions such as ivy--cleanup that 1. assume that the current buffer is the minibuffer 2. are used only once?