emacs-diffs
[Top][All Lists]
Advanced

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

master 6b40438: In read_minibuf_unwind don't try to select dead window (


From: Martin Rudalics
Subject: master 6b40438: In read_minibuf_unwind don't try to select dead window (Bug#49248)
Date: Tue, 29 Jun 2021 03:22:20 -0400 (EDT)

branch: master
commit 6b4043833cf2e846d41e714e2c72372b60d0d594
Author: Martin Rudalics <rudalics@gmx.at>
Commit: Martin Rudalics <rudalics@gmx.at>

    In read_minibuf_unwind don't try to select dead window (Bug#49248)
    
    * src/minibuf.c (read_minibuf_unwind): Don't try to select dead
    window (Bug#49248).
---
 src/minibuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/minibuf.c b/src/minibuf.c
index 00069ea..1b842b7 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1210,7 +1210,7 @@ read_minibuf_unwind (void)
                     WINDOW_FRAME (XWINDOW (minibuf_window))))
            Fset_frame_selected_window (selected_frame, prev, Qnil);
        }
-      else
+      else if (WINDOW_LIVE_P (calling_window))
        Fset_frame_selected_window (calling_frame, calling_window, Qnil);
     }
 



reply via email to

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