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:
parent
ba2190e1ae
commit
5c55c860db
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue