aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 83483039b54..5306533dd59 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7697,7 +7697,7 @@ resize_mini_window_1 (a1, exactly, a3, a4)
7697/* Resize mini-window W to fit the size of its contents. EXACT:P 7697/* Resize mini-window W to fit the size of its contents. EXACT:P
7698 means size the window exactly to the size needed. Otherwise, it's 7698 means size the window exactly to the size needed. Otherwise, it's
7699 only enlarged until W's buffer is empty. 7699 only enlarged until W's buffer is empty.
7700 7700
7701 Set W->start to the right place to begin display. If the whole 7701 Set W->start to the right place to begin display. If the whole
7702 contents fit, start at the beginning. Otherwise, start so as 7702 contents fit, start at the beginning. Otherwise, start so as
7703 to make the end of the contents appear. This is particularly 7703 to make the end of the contents appear. This is particularly
@@ -7786,7 +7786,6 @@ resize_mini_window (w, exact_p)
7786 init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); 7786 init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID);
7787 move_it_vertically_backward (&it, (height - 1) * unit); 7787 move_it_vertically_backward (&it, (height - 1) * unit);
7788 start = it.current.pos; 7788 start = it.current.pos;
7789 SET_PT_BOTH (CHARPOS (start), BYTEPOS (start));
7790 } 7789 }
7791 else 7790 else
7792 SET_TEXT_POS (start, BEGV, BEGV_BYTE); 7791 SET_TEXT_POS (start, BEGV, BEGV_BYTE);