diff options
| author | Richard M. Stallman | 1995-10-11 17:15:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-11 17:15:10 +0000 |
| commit | 319315f1c503413d1c3ba15e4e56500ea435b868 (patch) | |
| tree | 160007644098a96de96210b65e9339fd8f62e56c /src/window.c | |
| parent | a6889c57ba6a25e6616cd65305295e97e8581047 (diff) | |
| download | emacs-319315f1c503413d1c3ba15e4e56500ea435b868.tar.gz emacs-319315f1c503413d1c3ba15e4e56500ea435b868.zip | |
(window_display_table): Use DISP_TABLE_P. Return type
struct Lisp_Char_Table * since display tables are now char-tables.
Diffstat (limited to 'src/window.c')
| -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 | ||