]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fvertical_motion): Be sure to set it_overshoot_expected if
authorKenichi Handa <handa@m17n.org>
Mon, 8 Sep 2008 05:46:36 +0000 (05:46 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 8 Sep 2008 05:46:36 +0000 (05:46 +0000)
it.cmp_it.id is non-nengative.

src/indent.c

index 25d41a66f59d98506754ec6c1408161cfbb0461a..809f775a2217bfb7a7787f2ccc996d68e1e72384 100644 (file)
@@ -2070,7 +2070,7 @@ whether or not it is currently displayed in some window.  */)
        {
          if (it.cmp_it.id >= 0)
            it_overshoot_expected = 1;
-         if (it.method == GET_FROM_STRING)
+         else if (it.method == GET_FROM_STRING)
            {
              const char *s = SDATA (it.string);
              const char *e = s + SBYTES (it.string);