Avoid crashes in redisplay in batch-mode testing
* src/xdisp.c (try_window_id): Don't crash for "initial" frame. (Bug#72765)
This commit is contained in:
@@ -22089,7 +22089,8 @@ try_window_id (struct window *w)
|
|||||||
|
|
||||||
/* Window must either use window-based redisplay or be full width. */
|
/* Window must either use window-based redisplay or be full width. */
|
||||||
if (!FRAME_WINDOW_P (f)
|
if (!FRAME_WINDOW_P (f)
|
||||||
&& (!FRAME_LINE_INS_DEL_OK (f)
|
&& (FRAME_INITIAL_P (f)
|
||||||
|
|| !FRAME_LINE_INS_DEL_OK (f)
|
||||||
|| !WINDOW_FULL_WIDTH_P (w)))
|
|| !WINDOW_FULL_WIDTH_P (w)))
|
||||||
GIVE_UP (4);
|
GIVE_UP (4);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user