bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52491: 28.0.90; Regression in window deletion with minibuffer


From: martin rudalics
Subject: bug#52491: 28.0.90; Regression in window deletion with minibuffer
Date: Mon, 20 Dec 2021 10:18:53 +0100

> I get nil too, but I don't believe this value.
> Maybe because of some strange window interactions,
> the displayed value is wrong.  When I tried to print
> the real value with 'message' in the *Messages* value,
> it was the same as in 27.2.90.

Well then ...

> I checked that in 28 in 'quit-restore-window', only these 2 lines are used:
>
>       ((and dedicated (not (eq dedicated 'side))
>             (window--delete window 'dedicated (eq bury-or-kill 'kill))))
>
> but these lines are not used in 28:
>
>        (when (window-live-p (nth 2 quit-restore))
>    (select-window (nth 2 quit-restore)))
>
> But in 27 they correctly selected the minibuffer window.

... the attached patch should cure it (I suppose this got broken in
commit d0c7d8bc22a935f2a79747a96b4043f0b449a212 but didn't check).

martin

Attachment: quit-restore.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]