Mercurial > emacs
changeset 17116:321ebfc346eb
(DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 27 Feb 1997 10:44:19 +0000 |
parents | dd39f3c57b3e |
children | f03002ec3404 |
files | src/disptab.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/disptab.h Thu Feb 27 08:03:44 1997 +0000 +++ b/src/disptab.h Thu Feb 27 10:44:19 1997 +0000 @@ -33,7 +33,8 @@ #define DISP_INVIS_VECTOR(dp) ((dp)->extras[4]) #define DISP_BORDER_GLYPH(dp) ((dp)->extras[5]) -#define DISP_CHAR_VECTOR(dp, c) ((c) < 0x80 ? (dp)->contents[c] : Qnil) +#define DISP_CHAR_VECTOR(dp, c) \ + (SINGLE_BYTE_CHAR_P(c) ? (dp)->contents[c] : Qnil) /* Defined in window.c. */ extern struct Lisp_Char_Table *window_display_table ();