Subject: bug#45072: 28.0.50; Emacs switches other buffer back uncontrollably, if other window's buffer is changed by user during minibuffer editing

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 05 Aug 2021 12:55:16 +0200

Juri Linkov <[email-masked]> writes:

> But fortunately there is an existing hook 'minibuffer-exit-hook'
> called in both cases of exiting by `C-g' and RET.
> And the users can easily change it, e.g. to not pop down
> the *Completions* buffer, or to remove more windows, etc.

Looks good to me (but I haven't actually tried the patch).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no