diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 1 | ||||
| -rw-r--r-- | src/xwidget.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3717924ff68..7c043f6d087 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-08-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * xdisp.c (compute_display_string_pos): Remove unused local. | ||
| 4 | |||
| 1 | 2011-08-02 Eli Zaretskii <eliz@gnu.org> | 5 | 2011-08-02 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | Fix slow cursor motion and scrolling in large buffers with | 7 | Fix slow cursor motion and scrolling in large buffers with |
diff --git a/src/xdisp.c b/src/xdisp.c index e7c3ac301ba..6f871903ed5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3168,7 +3168,6 @@ compute_display_string_pos (struct text_pos *position, | |||
| 3168 | EMACS_INT lim = | 3168 | EMACS_INT lim = |
| 3169 | (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob; | 3169 | (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob; |
| 3170 | struct text_pos tpos; | 3170 | struct text_pos tpos; |
| 3171 | struct buffer *b; | ||
| 3172 | 3171 | ||
| 3173 | *disp_prop_p = 1; | 3172 | *disp_prop_p = 1; |
| 3174 | 3173 | ||
diff --git a/src/xwidget.c b/src/xwidget.c index 08b16bbbc35..1a3e76dd4a2 100644 --- a/src/xwidget.c +++ b/src/xwidget.c | |||
| @@ -614,7 +614,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s) | |||
| 614 | int y = s->y + (s->height / 2) - (xww->height / 2); | 614 | int y = s->y + (s->height / 2) - (xww->height / 2); |
| 615 | int moved=0; | 615 | int moved=0; |
| 616 | 616 | ||
| 617 | if (xv == NULL){ | 617 | if (xv == NULL || xv->initialized == 0){ |
| 618 | /* Views must be initialized once(only once). | 618 | /* Views must be initialized once(only once). |
| 619 | We do it here in the display loop because there is no other time to know things like | 619 | We do it here in the display loop because there is no other time to know things like |
| 620 | window placement etc. | 620 | window placement etc. |