diff options
| author | Richard M. Stallman | 1995-04-13 16:54:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-13 16:54:41 +0000 |
| commit | 2a77a7d71231271411bcc0fdc20b1ef752b68548 (patch) | |
| tree | dc5dce2f94d78c52a1a7ad1481d6921cc2baf8bf /src/buffer.c | |
| parent | e207bc6ec649902818759c8a294833fc89dbc9aa (diff) | |
| download | emacs-2a77a7d71231271411bcc0fdc20b1ef752b68548.tar.gz emacs-2a77a7d71231271411bcc0fdc20b1ef752b68548.zip | |
(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.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0043a442be1..78f87bfbfa9 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -2313,7 +2313,8 @@ DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 1, 0, | |||
| 2313 | 2313 | ||
| 2314 | /* Put all the overlays we want in a vector in overlay_vec. | 2314 | /* Put all the overlays we want in a vector in overlay_vec. |
| 2315 | Store the length in len. */ | 2315 | Store the length in len. */ |
| 2316 | noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, NULL, NULL); | 2316 | noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, |
| 2317 | (int *) 0, (int *) 0); | ||
| 2317 | 2318 | ||
| 2318 | /* Make a list of them all. */ | 2319 | /* Make a list of them all. */ |
| 2319 | result = Flist (noverlays, overlay_vec); | 2320 | result = Flist (noverlays, overlay_vec); |
| @@ -2343,7 +2344,8 @@ If there are no more overlay boundaries after POS, return (point-max).") | |||
| 2343 | /* Put all the overlays we want in a vector in overlay_vec. | 2344 | /* Put all the overlays we want in a vector in overlay_vec. |
| 2344 | Store the length in len. | 2345 | Store the length in len. |
| 2345 | endpos gets the position where the next overlay starts. */ | 2346 | endpos gets the position where the next overlay starts. */ |
| 2346 | noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, &endpos, NULL); | 2347 | noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, |
| 2348 | &endpos, (int *) 0); | ||
| 2347 | 2349 | ||
| 2348 | /* If any of these overlays ends before endpos, | 2350 | /* If any of these overlays ends before endpos, |
| 2349 | use its ending point instead. */ | 2351 | use its ending point instead. */ |
| @@ -2383,7 +2385,8 @@ If there are no more overlay boundaries after POS, return (point-min).") | |||
| 2383 | /* Put all the overlays we want in a vector in overlay_vec. | 2385 | /* Put all the overlays we want in a vector in overlay_vec. |
| 2384 | Store the length in len. | 2386 | Store the length in len. |
| 2385 | prevpos gets the position of an overlay end. */ | 2387 | prevpos gets the position of an overlay end. */ |
| 2386 | noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, NULL, &prevpos); | 2388 | noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, |
| 2389 | (int *) 0, &prevpos); | ||
| 2387 | 2390 | ||
| 2388 | /* If any of these overlays starts before endpos, | 2391 | /* If any of these overlays starts before endpos, |
| 2389 | maybe use its starting point instead. */ | 2392 | maybe use its starting point instead. */ |