diff options
| author | Kenichi Handa | 2002-03-01 01:25:51 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-03-01 01:25:51 +0000 |
| commit | f35dca995ebe5242ca7241b98c5af31c2cef0d3e (patch) | |
| tree | 599b6bec8fe44c4f94f60c0ae5b2758f65c9939c /src | |
| parent | 9cb01f031d061e6035177aab6abab85a137d8bbd (diff) | |
| download | emacs-f35dca995ebe5242ca7241b98c5af31c2cef0d3e.tar.gz emacs-f35dca995ebe5242ca7241b98c5af31c2cef0d3e.zip | |
(DISP_CHAR_VECTOR): Adjusted for the change of char
table structure.
Diffstat (limited to 'src')
| -rw-r--r-- | src/disptab.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/disptab.h b/src/disptab.h index 1fb6307a73a..4deee27539c 100644 --- a/src/disptab.h +++ b/src/disptab.h | |||
| @@ -35,8 +35,14 @@ Boston, MA 02111-1307, USA. */ | |||
| 35 | 35 | ||
| 36 | extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int)); | 36 | extern Lisp_Object disp_char_vector P_ ((struct Lisp_Char_Table *, int)); |
| 37 | 37 | ||
| 38 | #define DISP_CHAR_VECTOR(dp, c) \ | 38 | #define DISP_CHAR_VECTOR(dp, c) \ |
| 39 | (SINGLE_BYTE_CHAR_P(c) ? (dp)->contents[c] : disp_char_vector ((dp), (c))) | 39 | (ASCII_CHAR_P(c) \ |
| 40 | ? (NILP ((dp)->ascii) \ | ||
| 41 | ? (dp)->defalt \ | ||
| 42 | : (SUB_CHAR_TABLE_P ((dp)->ascii) \ | ||
| 43 | ? XSUB_CHAR_TABLE ((dp)->ascii)->contents[c] \ | ||
| 44 | : (dp)->ascii)) \ | ||
| 45 | : disp_char_vector ((dp), (c))) | ||
| 40 | 46 | ||
| 41 | /* Defined in window.c. */ | 47 | /* Defined in window.c. */ |
| 42 | extern struct Lisp_Char_Table *window_display_table P_ ((struct window *)); | 48 | extern struct Lisp_Char_Table *window_display_table P_ ((struct window *)); |