]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 dd53628462e1ede9f43724b16dda4306ea6d56a3..c1b4e0418a68d6126116a31f22b55c4e3c4847b0 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;