changeset 90041:7e61e1c97f6b

(skip_syntaxes): Return lispy 0 (not nil) if point is already at limit.
author Kenichi Handa <handa@m17n.org>
date Fri, 29 Oct 2004 00:24:33 +0000
parents e30d01a249dd
children 003d95404d71
files src/syntax.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Thu Oct 28 02:08:47 2004 +0000
+++ b/src/syntax.c	Fri Oct 29 00:24:33 2004 +0000
@@ -1907,7 +1907,7 @@
     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));