(Fbuffer_has_markers_at): Fix termination condition.
authorKarl Heuer <kwzh@gnu.org>
Thu, 9 Apr 1998 19:40:19 +0000 (19:40 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 9 Apr 1998 19:40:19 +0000 (19:40 +0000)
src/marker.c

index dd53628..c1b4e04 100644 (file)
@@ -877,7 +877,7 @@ DEFUN ("buffer-has-markers-at", Fbuffer_has_markers_at, Sbuffer_has_markers_at,
     charno = Z;
 
   for (tail = BUF_MARKERS (current_buffer);
-       XSYMBOL (tail) != XSYMBOL (Qnil);
+       !NILP (tail);
        tail = XMARKER (tail)->chain)
     if (XMARKER (tail)->charpos == charno)
       return Qt;