Mercurial > emacs
changeset 11418:f892e7cb7f51
(Foverlays_at, Fnext_overlay_change): Don't use NULL.
(Fprevious_overlay_change): Don't use NULL.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 13 Apr 1995 16:54:41 +0000 |
parents | a5b136d16356 |
children | e3e288e792a9 |
files | src/buffer.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Thu Apr 13 16:51:39 1995 +0000 +++ b/src/buffer.c Thu Apr 13 16:54:41 1995 +0000 @@ -2313,7 +2313,8 @@ /* Put all the overlays we want in a vector in overlay_vec. Store the length in len. */ - noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, NULL, NULL); + noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, + (int *) 0, (int *) 0); /* Make a list of them all. */ result = Flist (noverlays, overlay_vec); @@ -2343,7 +2344,8 @@ /* Put all the overlays we want in a vector in overlay_vec. Store the length in len. endpos gets the position where the next overlay starts. */ - noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos, NULL); + noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, + &endpos, (int *) 0); /* If any of these overlays ends before endpos, use its ending point instead. */ @@ -2383,7 +2385,8 @@ /* Put all the overlays we want in a vector in overlay_vec. Store the length in len. prevpos gets the position of an overlay end. */ - noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, NULL, &prevpos); + noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, + (int *) 0, &prevpos); /* If any of these overlays starts before endpos, maybe use its starting point instead. */