>> Yes. But maybe read-from-minibuffer-restore-windows would be even >> better. > > And `read-minibuffer-restore-windows' would be even shorter. Attached. > > + DEFVAR_BOOL ("read-minibuffer-restore-windows", read_minibuffer_restore_windows, > + doc: /* Non-nil means restore window configurations on exit from minibuffer. > +If this is non-nil (the default), reading input with the minibuffer will > +restore, on exit, the window configurations of the frame where the > +minibuffer was entered from and, if it is different, the frame that owns > +the associated minibuffer window. If this is nil, no such restorations > +are done. */); > + read_minibuffer_restore_windows = true; I recommend to install this patch. Maybe it's not perfect, but works reasonably well, and there is the high demand for this feature. Only such additional patch is necessary: