diff options
| author | Joakim Verona | 2013-08-26 11:46:28 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-26 11:46:28 +0200 |
| commit | bc468f0f25e0a9c10a4c7023a37cfc9be369b69d (patch) | |
| tree | b7b5ed39cdfb57b96f05bb98b97c3bacc1686aff /src/window.c | |
| parent | 40d74a503910168002cb1e170494d2f6d1adfeba (diff) | |
| parent | c80016b3c123a76970d8f9dbbff61aeb5319c919 (diff) | |
| download | emacs-bc468f0f25e0a9c10a4c7023a37cfc9be369b69d.tar.gz emacs-bc468f0f25e0a9c10a4c7023a37cfc9be369b69d.zip | |
merge from trunk
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index cdda2b27a54..aa52efc1b4e 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -2030,8 +2030,8 @@ replace_window (Lisp_Object old, Lisp_Object new, int setflag) | |||
| 2030 | n->desired_matrix = n->current_matrix = 0; | 2030 | n->desired_matrix = n->current_matrix = 0; |
| 2031 | n->vscroll = 0; | 2031 | n->vscroll = 0; |
| 2032 | memset (&n->cursor, 0, sizeof (n->cursor)); | 2032 | memset (&n->cursor, 0, sizeof (n->cursor)); |
| 2033 | memset (&n->last_cursor, 0, sizeof (n->last_cursor)); | ||
| 2034 | memset (&n->phys_cursor, 0, sizeof (n->phys_cursor)); | 2033 | memset (&n->phys_cursor, 0, sizeof (n->phys_cursor)); |
| 2034 | n->last_cursor_vpos = 0; | ||
| 2035 | n->phys_cursor_type = -1; | 2035 | n->phys_cursor_type = -1; |
| 2036 | n->phys_cursor_width = -1; | 2036 | n->phys_cursor_width = -1; |
| 2037 | n->must_be_updated_p = 0; | 2037 | n->must_be_updated_p = 0; |
| @@ -3175,7 +3175,7 @@ set_window_buffer (Lisp_Object window, Lisp_Object buffer, | |||
| 3175 | 3175 | ||
| 3176 | w->window_end_pos = 0; | 3176 | w->window_end_pos = 0; |
| 3177 | w->window_end_vpos = 0; | 3177 | w->window_end_vpos = 0; |
| 3178 | memset (&w->last_cursor, 0, sizeof w->last_cursor); | 3178 | w->last_cursor_vpos = 0; |
| 3179 | 3179 | ||
| 3180 | if (!(keep_margins_p && samebuf)) | 3180 | if (!(keep_margins_p && samebuf)) |
| 3181 | { /* If we're not actually changing the buffer, don't reset hscroll and | 3181 | { /* If we're not actually changing the buffer, don't reset hscroll and |
| @@ -3914,7 +3914,7 @@ set correctly. See the code of `split-window' for how this is done. */) | |||
| 3914 | } | 3914 | } |
| 3915 | 3915 | ||
| 3916 | n->window_end_valid = 0; | 3916 | n->window_end_valid = 0; |
| 3917 | memset (&n->last_cursor, 0, sizeof n->last_cursor); | 3917 | n->last_cursor_vpos = 0; |
| 3918 | 3918 | ||
| 3919 | /* Get special geometry settings from reference window. */ | 3919 | /* Get special geometry settings from reference window. */ |
| 3920 | n->left_margin_cols = r->left_margin_cols; | 3920 | n->left_margin_cols = r->left_margin_cols; |