From: Richard M. Stallman Date: Wed, 21 Jan 1998 22:02:05 +0000 (+0000) Subject: (skip_chars): Use unibyte_char_to_multibyte, X-Git-Tag: emacs-20.3~2370 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b29ff194276468603305b10bc7d662f0eb356603;p=emacs.git (skip_chars): Use unibyte_char_to_multibyte, --- diff --git a/src/syntax.c b/src/syntax.c index e79b98cbe2f..b3ec37f3b29 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -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;