]> git.eshelyaron.com Git - emacs.git/commitdiff
(FORWARD_CHAR): Fix calculation of (POSITION).pos_byte.
authorKenichi Handa <handa@m17n.org>
Tue, 9 Sep 2008 02:09:32 +0000 (02:09 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 9 Sep 2008 02:09:32 +0000 (02:09 +0000)
src/ChangeLog
src/composite.c

index 17796a2732661df966ed42876ca8ca3cc6af9ca9..21219613b39a0321f3636cc21559b554401f7a88 100644 (file)
@@ -1,3 +1,13 @@
+2008-09-09  Kenichi Handa  <handa@m17n.org>
+
+       * composite.c (FORWARD_CHAR): Fix calculation
+       of (POSITION).pos_byte.
+
+2008-09-08  Kenichi Handa  <handa@m17n.org>
+
+       * indent.c (Fvertical_motion): Be sure to set
+       it_overshoot_expected if it.cmp_it.id is non-nengative.
+
 2008-09-07  Andreas Schwab  <schwab@suse.de>
 
        * callproc.c (Fcall_process): Don't hold references to string data
index dc1dd370c3bbdeb08808849c9a48eb409c1f82d4..12120f05ebb6d8f65158083ef0f46aafe322a80e 100644 (file)
@@ -1197,8 +1197,8 @@ struct position_record
       }                                                                        \
     else                                                               \
       {                                                                        \
-       (POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p));           \
        (POSITION).pos_byte += BYTES_BY_CHAR_HEAD (*((POSITION).p));    \
+       (POSITION).p += BYTES_BY_CHAR_HEAD (*((POSITION).p));           \
       }                                                                        \
   } while (0)