Commit a0315a63 authored by Miles Bader's avatar Miles Bader
Browse files

(next_overlay_change): Update call to overlays_at.

parent bac40480
/* 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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment