From 34e4751f89aaa88a682924a755656ba40c017c20 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 9 Apr 1998 19:40:19 +0000 Subject: [PATCH] (Fbuffer_has_markers_at): Fix termination condition. --- src/marker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2