]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_next_display_element): Also use `\ ' & `\-' for latin-9.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 24 Mar 2005 17:42:50 +0000 (17:42 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 24 Mar 2005 17:42:50 +0000 (17:42 +0000)
Just prepend a backslash without replacing the NBSP by an SPC.

src/xdisp.c

index bca4115f4b1ef04c3b848118159e006ce0f0f38f..fdaf2bf1a3cbd7cf3a6fc88b916bc9ee9601f8fb 100644 (file)
@@ -5143,10 +5143,11 @@ get_next_display_element (it)
                                         it->face_id);
                }
 
-             if (it->c == 0x8a0 || it->c == 0x8ad)
+             if (it->c == 0x8a0 || it->c == 0x8ad
+                 || it->c == 0xf20 || it->c == 0xf2d)
                {
                  XSETINT (it->ctl_chars[0], escape_glyph);
-                 g = it->c == 0x8ad ? '-' : ' ';
+                 g = it->c;
                  XSETINT (it->ctl_chars[1], g);
                  ctl_len = 2;
                  goto display_control;