diff options
author | Kenichi Handa <handa@m17n.org> | 1997-02-27 10:44:19 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-02-27 10:44:19 +0000 |
commit | 3046d6fcf7e4e64ed1528eb839edf04aae72b260 (patch) | |
tree | 1aa6fc780007381cc40751c529e92fbe6787842d /src/disptab.h | |
parent | ca38bbb2b812999fadb999c09be5d14d5b7dbc97 (diff) | |
download | emacs-3046d6fcf7e4e64ed1528eb839edf04aae72b260.tar.gz |
(DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.
Diffstat (limited to 'src/disptab.h')
-rw-r--r-- | src/disptab.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/disptab.h b/src/disptab.h index 3458105b9a7..6ee008453df 100644 --- a/src/disptab.h +++ b/src/disptab.h @@ -33,7 +33,8 @@ Boston, MA 02111-1307, USA. */ #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 (); |