summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-05-17 22:26:51 +0000
committerRichard M. Stallman <rms@gnu.org>2006-05-17 22:26:51 +0000
commit624d2678584bd7b1d42b25ab1c617757b74a7c8e (patch)
tree8a7588c3b6a1e2ef06b5ac29718964d4b9706180 /src/buffer.c
parent59767336096a79c54b7c034dc22539c45c8d638d (diff)
downloademacs-624d2678584bd7b1d42b25ab1c617757b74a7c8e.tar.gz
emacs-624d2678584bd7b1d42b25ab1c617757b74a7c8e.tar.bz2
emacs-624d2678584bd7b1d42b25ab1c617757b74a7c8e.zip
(Fprevious_overlay_change, Fnext_overlay_change): Doc fixes.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 5ed9043fd0a..c03c58a39f3 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2465,10 +2465,10 @@ swap_out_buffer_local_variables (b)
Return the number found, and store them in a vector in *VEC_PTR.
Store in *LEN_PTR the size allocated for the vector.
Store in *NEXT_PTR the next position after POS where an overlay starts,
- or ZV if there are no more overlays.
+ or ZV if there are no more overlays between POS and ZV.
Store in *PREV_PTR the previous position before POS where an overlay ends,
or where an overlay starts which ends at or after POS;
- or BEGV if there are no such overlays.
+ or BEGV if there are no such overlays from BEGV to POS.
NEXT_PTR and/or PREV_PTR may be 0, meaning don't store that info.
*VEC_PTR and *LEN_PTR should contain a valid vector and size
@@ -3939,7 +3939,8 @@ or between BEG and END. */)
DEFUN ("next-overlay-change", Fnext_overlay_change, Snext_overlay_change,
1, 1, 0,
doc: /* Return the next position after POS where an overlay starts or ends.
-If there are no more overlay boundaries after POS, return (point-max). */)
+If there are no overlay boundaries from POS to (point-max),
+the value is (point-max). */)
(pos)
Lisp_Object pos;
{
@@ -3980,7 +3981,8 @@ If there are no more overlay boundaries after POS, return (point-max). */)
DEFUN ("previous-overlay-change", Fprevious_overlay_change,
Sprevious_overlay_change, 1, 1, 0,
doc: /* Return the previous position before POS where an overlay starts or ends.
-If there are no more overlay boundaries before POS, return (point-min). */)
+If there are no overlay boundaries from (point-min) to POS,
+the value is (point-min). */)
(pos)
Lisp_Object pos;
{