aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorKenichi Handa2004-04-16 12:51:06 +0000
committerKenichi Handa2004-04-16 12:51:06 +0000
commit6b61353c0a0320ee15bb6488149735381fed62ec (patch)
treee69adba60e504a5a37beb556ad70084de88a7aab /src/editfns.c
parentdc6a28319312fe81f7a1015e363174022313f0bd (diff)
downloademacs-6b61353c0a0320ee15bb6488149735381fed62ec.tar.gz
emacs-6b61353c0a0320ee15bb6488149735381fed62ec.zip
Sync to HEAD
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c
index ace0f1f8835..e7a01b24b76 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3376,7 +3376,7 @@ usage: (format STRING &rest OBJECTS) */)
3376 string itself, will not be used. Element NARGS, corresponding to 3376 string itself, will not be used. Element NARGS, corresponding to
3377 no argument, *will* be assigned to in the case that a `%' and `.' 3377 no argument, *will* be assigned to in the case that a `%' and `.'
3378 occur after the final format specifier. */ 3378 occur after the final format specifier. */
3379 int *precision = (int *) (alloca(nargs * sizeof (int))); 3379 int *precision = (int *) (alloca((nargs + 1) * sizeof (int)));
3380 int longest_format; 3380 int longest_format;
3381 Lisp_Object val; 3381 Lisp_Object val;
3382 int arg_intervals = 0; 3382 int arg_intervals = 0;
@@ -3430,7 +3430,7 @@ usage: (format STRING &rest OBJECTS) */)
3430 /* Make room in result for all the non-%-codes in the control string. */ 3430 /* Make room in result for all the non-%-codes in the control string. */
3431 total = 5 + CONVERTED_BYTE_SIZE (multibyte, args[0]); 3431 total = 5 + CONVERTED_BYTE_SIZE (multibyte, args[0]);
3432 3432
3433 /* Allocate the info and discarded tables. */ 3433 /* Allocate the info and discarded tables. */
3434 { 3434 {
3435 int nbytes = nargs * sizeof *info; 3435 int nbytes = nargs * sizeof *info;
3436 int i; 3436 int i;
@@ -4325,7 +4325,7 @@ Transposing beyond buffer boundaries is an error. */)
4325 transpose_markers (start1, end1, start2, end2, 4325 transpose_markers (start1, end1, start2, end2,
4326 start1_byte, start1_byte + len1_byte, 4326 start1_byte, start1_byte + len1_byte,
4327 start2_byte, start2_byte + len2_byte); 4327 start2_byte, start2_byte + len2_byte);
4328 fix_overlays_in_range (start1, end2); 4328 fix_start_end_in_overlays (start1, end2);
4329 } 4329 }
4330 4330
4331 return Qnil; 4331 return Qnil;