diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/window.c b/src/window.c index 3ea58035fa8..2b3e88b55d6 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -620,20 +620,20 @@ DEFUN ("window-display-table", Fwindow_display_table, Swindow_display_table, | |||
| 620 | Ignore the specified tables if they are not valid; | 620 | Ignore the specified tables if they are not valid; |
| 621 | if no valid table is specified, return 0. */ | 621 | if no valid table is specified, return 0. */ |
| 622 | 622 | ||
| 623 | struct Lisp_Vector * | 623 | struct Lisp_Char_Table * |
| 624 | window_display_table (w) | 624 | window_display_table (w) |
| 625 | struct window *w; | 625 | struct window *w; |
| 626 | { | 626 | { |
| 627 | Lisp_Object tem; | 627 | Lisp_Object tem; |
| 628 | tem = w->display_table; | 628 | tem = w->display_table; |
| 629 | if (VECTORP (tem) && XVECTOR (tem)->size == DISP_TABLE_SIZE) | 629 | if (DISP_TABLE_P (tem)) |
| 630 | return XVECTOR (tem); | 630 | return XCHAR_TABLE (tem); |
| 631 | tem = XBUFFER (w->buffer)->display_table; | 631 | tem = XBUFFER (w->buffer)->display_table; |
| 632 | if (VECTORP (tem) && XVECTOR (tem)->size == DISP_TABLE_SIZE) | 632 | if (DISP_TABLE_P (tem)) |
| 633 | return XVECTOR (tem); | 633 | return XCHAR_TABLE (tem); |
| 634 | tem = Vstandard_display_table; | 634 | tem = Vstandard_display_table; |
| 635 | if (VECTORP (tem) && XVECTOR (tem)->size == DISP_TABLE_SIZE) | 635 | if (DISP_TABLE_P (tem)) |
| 636 | return XVECTOR (tem); | 636 | return XCHAR_TABLE (tem); |
| 637 | return 0; | 637 | return 0; |
| 638 | } | 638 | } |
| 639 | 639 | ||