aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2005-03-24 17:42:50 +0000
committerStefan Monnier2005-03-24 17:42:50 +0000
commit04c769c2bd274857c665df68db6e0b173f09e110 (patch)
tree0822181bb6d64a6c3e676005676a7dccae5c6811 /src
parent590880afab43ee395b3e2dcb62a6b407a912b600 (diff)
downloademacs-04c769c2bd274857c665df68db6e0b173f09e110.tar.gz
emacs-04c769c2bd274857c665df68db6e0b173f09e110.zip
(get_next_display_element): Also use `\ ' & `\-' for latin-9.
Just prepend a backslash without replacing the NBSP by an SPC.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index bca4115f4b1..fdaf2bf1a3c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5143,10 +5143,11 @@ get_next_display_element (it)
5143 it->face_id); 5143 it->face_id);
5144 } 5144 }
5145 5145
5146 if (it->c == 0x8a0 || it->c == 0x8ad) 5146 if (it->c == 0x8a0 || it->c == 0x8ad
5147 || it->c == 0xf20 || it->c == 0xf2d)
5147 { 5148 {
5148 XSETINT (it->ctl_chars[0], escape_glyph); 5149 XSETINT (it->ctl_chars[0], escape_glyph);
5149 g = it->c == 0x8ad ? '-' : ' '; 5150 g = it->c;
5150 XSETINT (it->ctl_chars[1], g); 5151 XSETINT (it->ctl_chars[1], g);
5151 ctl_len = 2; 5152 ctl_len = 2;
5152 goto display_control; 5153 goto display_control;