changeset 60889:9c0af190d335

(get_next_display_element): Also use `\ ' & `\-' for latin-9. Just prepend a backslash without replacing the NBSP by an SPC.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 24 Mar 2005 17:42:50 +0000
parents a74509e6fe96
children a48e83530ac6
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Mar 24 17:34:34 2005 +0000
+++ b/src/xdisp.c	Thu Mar 24 17:42:50 2005 +0000
@@ -5143,10 +5143,11 @@
 					 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;