Commit 171d003c authored by Richard M. Stallman's avatar Richard M. Stallman

(window_display_table): Don't look inside buffer if its nil.

parent 72ef82ec
......@@ -696,6 +696,9 @@ window_display_table (w)
tem = w->display_table;
if (DISP_TABLE_P (tem))
return XCHAR_TABLE (tem);
if (NILP (w->buffer))
return 0;
tem = XBUFFER (w->buffer)->display_table;
if (DISP_TABLE_P (tem))
return XCHAR_TABLE (tem);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment