Mercurial > emacs
comparison src/xdisp.c @ 25063:7c69e1001e35
(get_next_display_element): Display DEL as `^?'.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 26 Jul 1999 11:50:17 +0000 |
parents | 583c6bc7fe82 |
children | 1af1088d3812 |
comparison
equal
deleted
inserted
replaced
25062:050561b336aa | 25063:7c69e1001e35 |
---|---|
3280 else if ((it->c < ' ' | 3280 else if ((it->c < ' ' |
3281 && (it->area != TEXT_AREA | 3281 && (it->area != TEXT_AREA |
3282 || (it->c != '\n' | 3282 || (it->c != '\n' |
3283 && it->c != '\t' | 3283 && it->c != '\t' |
3284 && it->c != '\r'))) | 3284 && it->c != '\r'))) |
3285 || (it->c >= 128 | 3285 || (it->c >= 127 |
3286 && it->len == 1)) | 3286 && it->len == 1)) |
3287 { | 3287 { |
3288 /* IT->c is a control character which must be displayed | 3288 /* IT->c is a control character which must be displayed |
3289 either as '\003' or as `^C' where the '\\' and '^' | 3289 either as '\003' or as `^C' where the '\\' and '^' |
3290 can be defined in the display table. Fill | 3290 can be defined in the display table. Fill |
3291 IT->ctl_chars with glyphs for what we have to | 3291 IT->ctl_chars with glyphs for what we have to |
3292 display. Then, set IT->dpvec to these glyphs. */ | 3292 display. Then, set IT->dpvec to these glyphs. */ |
3293 GLYPH g; | 3293 GLYPH g; |
3294 | 3294 |
3295 if (it->c < ' ' && it->ctl_arrow_p) | 3295 if (it->c < 128 && it->ctl_arrow_p) |
3296 { | 3296 { |
3297 /* Set IT->ctl_chars[0] to the glyph for `^'. */ | 3297 /* Set IT->ctl_chars[0] to the glyph for `^'. */ |
3298 if (it->dp | 3298 if (it->dp |
3299 && INTEGERP (DISP_CTRL_GLYPH (it->dp)) | 3299 && INTEGERP (DISP_CTRL_GLYPH (it->dp)) |
3300 && GLYPH_CHAR_VALID_P (XINT (DISP_CTRL_GLYPH (it->dp)))) | 3300 && GLYPH_CHAR_VALID_P (XINT (DISP_CTRL_GLYPH (it->dp)))) |