(skip_chars): Use unibyte_char_to_multibyte,
authorRichard M. Stallman <rms@gnu.org>
Wed, 21 Jan 1998 22:02:05 +0000 (22:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 21 Jan 1998 22:02:05 +0000 (22:02 +0000)
src/syntax.c

index e79b98c..b3ec37f 100644 (file)
@@ -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 @@ skip_chars (forwardp, syntaxp, string, lim)
       /* 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;