aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-04-13 16:54:41 +0000
committerRichard M. Stallman <[email protected]>1995-04-13 16:54:41 +0000
commit2a77a7d71231271411bcc0fdc20b1ef752b68548 (patch)
treedc5dce2f94d78c52a1a7ad1481d6921cc2baf8bf /src/buffer.c
parente207bc6ec649902818759c8a294833fc89dbc9aa (diff)
(Foverlays_at, Fnext_overlay_change): Don't use NULL.
(Fprevious_overlay_change): Don't use NULL.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0043a442be..78f87bfbfa 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2313,7 +2313,8 @@ DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 1, 0,
/* 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 @@ If there are no more overlay boundaries after POS, return (point-max).")
/* 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 @@ If there are no more overlay boundaries after POS, return (point-min).")
/* 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. */