diff options
| author | Karl Heuer | 1998-02-27 22:09:33 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-02-27 22:09:33 +0000 |
| commit | a66afea01c7c5252ebd837baee44797507f86802 (patch) | |
| tree | 3c1ee297d317c2f5006481be50c271d7a4d19889 /src | |
| parent | db4f2bfa4c2650a56f52b3a69deaf3d1561b8b2b (diff) | |
| download | emacs-a66afea01c7c5252ebd837baee44797507f86802.tar.gz emacs-a66afea01c7c5252ebd837baee44797507f86802.zip | |
(del_range_2): Reorder args. All callers changed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/insdel.c b/src/insdel.c index 8b4a6fb74ae..5fc6613b834 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -1287,7 +1287,7 @@ del_range_1 (from, to, prepare) | |||
| 1287 | from_byte = CHAR_TO_BYTE (from); | 1287 | from_byte = CHAR_TO_BYTE (from); |
| 1288 | to_byte = CHAR_TO_BYTE (to); | 1288 | to_byte = CHAR_TO_BYTE (to); |
| 1289 | 1289 | ||
| 1290 | del_range_2 (from, to, from_byte, to_byte); | 1290 | del_range_2 (from, from_byte, to, to_byte); |
| 1291 | } | 1291 | } |
| 1292 | 1292 | ||
| 1293 | /* Like del_range_1 but args are byte positions, not char positions. */ | 1293 | /* Like del_range_1 but args are byte positions, not char positions. */ |
| @@ -1323,7 +1323,7 @@ del_range_byte (from_byte, to_byte, prepare) | |||
| 1323 | to_byte = CHAR_TO_BYTE (to); | 1323 | to_byte = CHAR_TO_BYTE (to); |
| 1324 | } | 1324 | } |
| 1325 | 1325 | ||
| 1326 | del_range_2 (from, to, from_byte, to_byte); | 1326 | del_range_2 (from, from_byte, to, to_byte); |
| 1327 | } | 1327 | } |
| 1328 | 1328 | ||
| 1329 | /* Like del_range_1, but positions are specified both as charpos | 1329 | /* Like del_range_1, but positions are specified both as charpos |
| @@ -1360,7 +1360,7 @@ del_range_both (from, from_byte, to, to_byte, prepare) | |||
| 1360 | to_byte = CHAR_TO_BYTE (to); | 1360 | to_byte = CHAR_TO_BYTE (to); |
| 1361 | } | 1361 | } |
| 1362 | 1362 | ||
| 1363 | del_range_2 (from, to, from_byte, to_byte); | 1363 | del_range_2 (from, from_byte, to, to_byte); |
| 1364 | } | 1364 | } |
| 1365 | 1365 | ||
| 1366 | /* Delete a range of text, specified both as character positions | 1366 | /* Delete a range of text, specified both as character positions |
| @@ -1368,8 +1368,8 @@ del_range_both (from, from_byte, to, to_byte, prepare) | |||
| 1368 | while FROM_BYTE and TO_BYTE are byte positions. */ | 1368 | while FROM_BYTE and TO_BYTE are byte positions. */ |
| 1369 | 1369 | ||
| 1370 | void | 1370 | void |
| 1371 | del_range_2 (from, to, from_byte, to_byte) | 1371 | del_range_2 (from, from_byte, to, to_byte) |
| 1372 | int from, to, from_byte, to_byte; | 1372 | int from, from_byte, to, to_byte; |
| 1373 | { | 1373 | { |
| 1374 | register int nbytes_del, nchars_del; | 1374 | register int nbytes_del, nchars_del; |
| 1375 | 1375 | ||