From: Noam Postavsky Date: Sun, 19 May 2019 17:05:55 +0000 (-0400) Subject: Don't segfault on force-window-update of deleted window X-Git-Tag: emacs-26.2.90~48 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=122ba16;p=emacs.git Don't segfault on force-window-update of deleted window * src/window.c (Fforce_window_update): Do nothing for deleted windows (Bug#35784). --- diff --git a/src/window.c b/src/window.c index dfac3b5b879..4d5ddeea14b 100644 --- a/src/window.c +++ b/src/window.c @@ -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);