summaryrefslogtreecommitdiff
path: root/src/intervals.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-09 11:59:12 +0000
committerJim Blandy <jimb@redhat.com>1993-06-09 11:59:12 +0000
commit51e0793e64ad3bd5dc846baec79a4b7bd4b6bbd1 (patch)
tree063390d9d89804416186b2e30f271758dc0a0542 /src/intervals.c
parent991171cf5b04b6949734b55ab6d6f5657ee19428 (diff)
downloademacs-51e0793e64ad3bd5dc846baec79a4b7bd4b6bbd1.tar.gz
Apply typo patches from Paul Eggert.
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intervals.c b/src/intervals.c
index c4bb4c381db..7809c37505b 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -837,7 +837,7 @@ interval_deletion_adjustment (tree, from, amount)
/* Never reach here */
}
-/* Effect the adjustments neccessary to the interval tree of BUFFER
+/* Effect the adjustments necessary to the interval tree of BUFFER
to correspond to the deletion of LENGTH characters from that buffer
text. The deletion is effected at position START (relative to the
buffer). */
@@ -881,7 +881,7 @@ adjust_intervals_for_deletion (buffer, start, length)
}
}
-/* Make the adjustments neccessary to the interval tree of BUFFER to
+/* Make the adjustments necessary to the interval tree of BUFFER to
represent an addition or deletion of LENGTH characters starting
at position START. Addition or deletion is indicated by the sign
of LENGTH. */
@@ -1096,7 +1096,7 @@ make_new_interval (intervals, start, length)
had its appropriate sticky property set (front_sticky, rear_sticky),
the new text has only its properties. If one of the sticky properties
is set, then the new text "sticks" to that region and its properties
- depend on merging as above. If both the preceding and succeding
+ depend on merging as above. If both the preceding and succeeding
intervals to the new text are "sticky", then the new text retains
only its properties, as if neither sticky property were set. Perhaps
we should consider merging all three sets of properties onto the new