From 54c85a234b53591351903d9d51786bd53e8d8761 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 26 Jul 1999 11:50:17 +0000 Subject: [PATCH] (get_next_display_element): Display DEL as `^?'. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index c74e3f95ce4..21c4400145b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3282,7 +3282,7 @@ get_next_display_element (it) || (it->c != '\n' && it->c != '\t' && it->c != '\r'))) - || (it->c >= 128 + || (it->c >= 127 && it->len == 1)) { /* IT->c is a control character which must be displayed @@ -3292,7 +3292,7 @@ get_next_display_element (it) display. Then, set IT->dpvec to these glyphs. */ GLYPH g; - if (it->c < ' ' && it->ctl_arrow_p) + if (it->c < 128 && it->ctl_arrow_p) { /* Set IT->ctl_chars[0] to the glyph for `^'. */ if (it->dp -- 2.39.5