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

(note_mouse_highlight): Update calls to overlays_at.

parent bea56df7
......@@ -6012,12 +6012,12 @@ note_mouse_highlight (f, x, y)
enough space for all, and try again. */
len = 10;
overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object));
noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL);
noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL, 0);
if (noverlays > len)
{
len = noverlays;
overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object));
noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL);
noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL,0);
}
noverlays = sort_overlays (overlay_vec, noverlays, w);
......
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