From: Stefan Monnier Date: Mon, 7 May 2007 15:25:47 +0000 (+0000) Subject: (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) X-Git-Tag: emacs-pretest-22.0.990~69 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c10b2810641680402f94f98239186e4e99495727;p=emacs.git (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) --- diff --git a/src/ChangeLog b/src/ChangeLog index 31115be1de9..12d92626b3f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-05-07 Stefan Monnier + + * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) + 2007-05-06 Richard Stallman * process.c: Undo May 3 change. @@ -65,8 +69,8 @@ 2007-04-16 Chong Yidong - * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Set - garbaged flag in presence of window margins. + * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): + Set garbaged flag in presence of window margins. (showing_window_margins_p): New function. * xdisp.c (cursor_row_p): Only end row on newline if it's a diff --git a/src/editfns.c b/src/editfns.c index 2ab852d2925..37498e3b6f7 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -4393,8 +4393,7 @@ Transposing beyond buffer boundaries is an error. */) fix_start_end_in_overlays (start1, end2); } - signal_after_change (XINT (start1), XINT (end2 - start1), - XINT (end2 - start1)); + signal_after_change (start1, end2 - start1, end2 - start1); return Qnil; }