]> git.eshelyaron.com Git - emacs.git/commitdiff
(handle_stop): Move some code out of loop.
authorRichard M. Stallman <rms@gnu.org>
Sat, 3 Nov 2007 01:50:31 +0000 (01:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 3 Nov 2007 01:50:31 +0000 (01:50 +0000)
src/ChangeLog
src/xdisp.c

index 1d33322996e501ff1edb0eb0e1c6121cd64e8a6e..42ebbddb65203e57c77629e27afa5d11334bce92 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-03  Richard Stallman  <rms@gnu.org>
+
+       * xdisp.c (handle_stop): Move some code out of loop.
+
 2007-11-01  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
 
        * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string):
index 9e3a3bade1f55a2b906845a49b2f5c594094d1b8..ef8c6c836aa83a2db4f57cc64f1e9d7f0001f969 100644 (file)
@@ -3073,16 +3073,18 @@ handle_stop (it)
          if (it->method == GET_FROM_DISPLAY_VECTOR)
            handle_overlay_change_p = 0;
 
-         /* Handle overlay changes.  */
+         /* Handle overlay changes.
+            This sets HANDLED to HANDLED_RECOMPUTE_PROPS
+            if it finds overlays.  */
          if (handle_overlay_change_p)
            handled = handle_overlay_change (it);
-
-         /* Determine where to stop next.  */
-         if (handled == HANDLED_NORMALLY)
-           compute_stop_pos (it);
        }
     }
   while (handled == HANDLED_RECOMPUTE_PROPS);
+
+  /* Determine where to stop next.  */
+  if (handled == HANDLED_NORMALLY)
+    compute_stop_pos (it);
 }