summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-10-29 00:24:33 +0000
committerKenichi Handa <handa@m17n.org>2004-10-29 00:24:33 +0000
commit75836943c85b0d9a9d5abd1db74fa6e5f301f78b (patch)
tree8b339731f621ddb3e2bba4f68770b7da73fab9f4 /src/syntax.c
parentc9b9c1c1b68e3de2953510e38261739eca31a80b (diff)
downloademacs-75836943c85b0d9a9d5abd1db74fa6e5f301f78b.tar.gz
(skip_syntaxes): Return lispy 0 (not nil) if point is
already at limit.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index a8b6a58a89b..d68628b181c 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1907,7 +1907,7 @@ skip_syntaxes (forwardp, string, lim)
XSETFASTINT (lim, BEGV);
if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim)))
- return Qnil;
+ return make_number (0);
multibyte = (!NILP (current_buffer->enable_multibyte_characters)
&& (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE));