From: Karl Heuer Date: Thu, 9 Apr 1998 19:40:19 +0000 (+0000) Subject: (Fbuffer_has_markers_at): Fix termination condition. X-Git-Tag: emacs-20.3~1616 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34e4751f89aaa88a682924a755656ba40c017c20;p=emacs.git (Fbuffer_has_markers_at): Fix termination condition. --- diff --git a/src/marker.c b/src/marker.c index dd53628462e..c1b4e0418a6 100644 --- a/src/marker.c +++ b/src/marker.c @@ -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;