aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorRichard M. Stallman1998-01-21 22:02:05 +0000
committerRichard M. Stallman1998-01-21 22:02:05 +0000
commitb29ff194276468603305b10bc7d662f0eb356603 (patch)
treeeab7e2ddecfb229f2fda938e8f2ce84319ec2319 /src/syntax.c
parent6f0429a9a6765abee7cefba18c82ac8e3a5c30f2 (diff)
downloademacs-b29ff194276468603305b10bc7d662f0eb356603.tar.gz
emacs-b29ff194276468603305b10bc7d662f0eb356603.zip
(skip_chars): Use unibyte_char_to_multibyte,
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c7
1 files changed, 2 insertions, 5 deletions
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 @@
1/* GNU Emacs routines to deal with syntax tables; also word and list parsing. 1/* GNU Emacs routines to deal with syntax tables; also word and list parsing.
2 Copyright (C) 1985, 87, 93, 94, 95, 1997 Free Software Foundation, Inc. 2 Copyright (C) 1985, 87, 93, 94, 95, 97, 1998 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -1260,10 +1260,7 @@ skip_chars (forwardp, syntaxp, string, lim)
1260 /* Convert multibyteness between what the string has 1260 /* Convert multibyteness between what the string has
1261 and what the buffer has. */ 1261 and what the buffer has. */
1262 if (multibyte) 1262 if (multibyte)
1263 { 1263 c = unibyte_char_to_multibyte (c);
1264 if (c >= 0200 && c < 0400)
1265 c += nonascii_insert_offset;
1266 }
1267 else 1264 else
1268 c &= 0377; 1265 c &= 0377;
1269 1266