Mercurial > emacs
comparison src/xterm.c @ 30700:730f55a93973
(note_mouse_highlight): Update call to overlays_at.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 08 Aug 2000 23:56:29 +0000 |
parents | 319c3bad8ada |
children | e25bfc3f618c |
comparison
equal
deleted
inserted
replaced
30699:f886557e4b2a | 30700:730f55a93973 |
---|---|
6523 /* Put all the overlays we want in a vector in overlay_vec. | 6523 /* Put all the overlays we want in a vector in overlay_vec. |
6524 Store the length in len. If there are more than 10, make | 6524 Store the length in len. If there are more than 10, make |
6525 enough space for all, and try again. */ | 6525 enough space for all, and try again. */ |
6526 len = 10; | 6526 len = 10; |
6527 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); | 6527 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); |
6528 noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL); | 6528 noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL, 0); |
6529 if (noverlays > len) | 6529 if (noverlays > len) |
6530 { | 6530 { |
6531 len = noverlays; | 6531 len = noverlays; |
6532 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); | 6532 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); |
6533 noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL); | 6533 noverlays = overlays_at (pos, 0, &overlay_vec, &len, NULL, NULL,0); |
6534 } | 6534 } |
6535 | 6535 |
6536 /* Sort overlays into increasing priority order. */ | 6536 /* Sort overlays into increasing priority order. */ |
6537 noverlays = sort_overlays (overlay_vec, noverlays, w); | 6537 noverlays = sort_overlays (overlay_vec, noverlays, w); |
6538 | 6538 |