changeset 20704:10eb136ca94b

(skip_chars): Use unibyte_char_to_multibyte,
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Jan 1998 22:02:05 +0000
parents f465da76f36b
children a949dc65fbea
files src/syntax.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Wed Jan 21 22:00:26 1998 +0000
+++ b/src/syntax.c	Wed Jan 21 22:02:05 1998 +0000
@@ -1,5 +1,5 @@
 /* GNU Emacs routines to deal with syntax tables; also word and list parsing.
-   Copyright (C) 1985, 87, 93, 94, 95, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1985, 87, 93, 94, 95, 97, 1998 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -1260,10 +1260,7 @@
       /* Convert multibyteness between what the string has
 	 and what the buffer has.  */
       if (multibyte)
-	{
-	  if (c >= 0200 && c < 0400)
-	    c += nonascii_insert_offset;
-	}
+	c = unibyte_char_to_multibyte (c);
       else
 	c &= 0377;