]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't segfault on force-window-update of deleted window
authorNoam Postavsky <npostavs@gmail.com>
Sun, 19 May 2019 17:05:55 +0000 (13:05 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 20 May 2019 18:23:12 +0000 (14:23 -0400)
* src/window.c (Fforce_window_update): Do nothing for deleted
windows (Bug#35784).

src/window.c

index dfac3b5b879fe3eb17aaf8adf2df13fc324b844d..4d5ddeea14bce3630093e53459e29c9e2050fc47 100644 (file)
@@ -3637,7 +3637,7 @@ displaying that buffer.  */)
       return Qt;
     }
 
-  if (WINDOWP (object))
+  if (WINDOW_LIVE_P (object))
     {
       struct window *w = XWINDOW (object);
       mark_window_display_accurate (object, false);