diff options
| author | Richard M. Stallman | 2007-11-03 01:50:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-11-03 01:50:31 +0000 |
| commit | d85b2f1e851dd703f60dcb473c7cbb62f201bc7e (patch) | |
| tree | 4c5a99bb1d61835b1a187ee6c175458a101d494a /src | |
| parent | d7a2fd422e9aa62460fe9479203f7c212af36bc6 (diff) | |
| download | emacs-d85b2f1e851dd703f60dcb473c7cbb62f201bc7e.tar.gz emacs-d85b2f1e851dd703f60dcb473c7cbb62f201bc7e.zip | |
(handle_stop): Move some code out of loop.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1d33322996e..42ebbddb652 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-11-03 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (handle_stop): Move some code out of loop. | ||
| 4 | |||
| 1 | 2007-11-01 Johan Bockg,Ae(Brd <bojohan@gnu.org> | 5 | 2007-11-01 Johan Bockg,Ae(Brd <bojohan@gnu.org> |
| 2 | 6 | ||
| 3 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): | 7 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): |
diff --git a/src/xdisp.c b/src/xdisp.c index 9e3a3bade1f..ef8c6c836aa 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3073,16 +3073,18 @@ handle_stop (it) | |||
| 3073 | if (it->method == GET_FROM_DISPLAY_VECTOR) | 3073 | if (it->method == GET_FROM_DISPLAY_VECTOR) |
| 3074 | handle_overlay_change_p = 0; | 3074 | handle_overlay_change_p = 0; |
| 3075 | 3075 | ||
| 3076 | /* Handle overlay changes. */ | 3076 | /* Handle overlay changes. |
| 3077 | This sets HANDLED to HANDLED_RECOMPUTE_PROPS | ||
| 3078 | if it finds overlays. */ | ||
| 3077 | if (handle_overlay_change_p) | 3079 | if (handle_overlay_change_p) |
| 3078 | handled = handle_overlay_change (it); | 3080 | handled = handle_overlay_change (it); |
| 3079 | |||
| 3080 | /* Determine where to stop next. */ | ||
| 3081 | if (handled == HANDLED_NORMALLY) | ||
| 3082 | compute_stop_pos (it); | ||
| 3083 | } | 3081 | } |
| 3084 | } | 3082 | } |
| 3085 | while (handled == HANDLED_RECOMPUTE_PROPS); | 3083 | while (handled == HANDLED_RECOMPUTE_PROPS); |
| 3084 | |||
| 3085 | /* Determine where to stop next. */ | ||
| 3086 | if (handled == HANDLED_NORMALLY) | ||
| 3087 | compute_stop_pos (it); | ||
| 3086 | } | 3088 | } |
| 3087 | 3089 | ||
| 3088 | 3090 | ||