From: Miles Bader Date: Tue, 8 Aug 2000 23:49:38 +0000 (+0000) Subject: (next_overlay_change): Update call to overlays_at. X-Git-Tag: emacs-pretest-21.0.90~2400 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0315a63997febc7cb9357514b2c787aa4a317ff;p=emacs.git (next_overlay_change): Update call to overlays_at. --- diff --git a/src/xdisp.c b/src/xdisp.c index eceb3822f20..3f0cbc58f5c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1,5 +1,5 @@ /* Display generation from window structure and buffer text. - Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99 + Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99, 2000 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1808,12 +1808,12 @@ next_overlay_change (pos) /* Get all overlays at the given position. */ len = 10; overlays = (Lisp_Object *) alloca (len * sizeof *overlays); - noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL); + noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL, 1); if (noverlays > len) { len = noverlays; overlays = (Lisp_Object *) alloca (len * sizeof *overlays); - noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL); + noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL, 1); } /* If any of these overlays ends before endpos,