diff src/syntax.c @ 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 d8411455de48
children e24e2e78deda
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));