aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-07-28 19:52:35 +0000
committerChong Yidong2008-07-28 19:52:35 +0000
commit62864de4950602d937722dec95c7af4108a24448 (patch)
tree288d6e87ead5054bf420d24e779388d3b02c7954 /src
parent4d2b0805d34cc9bb4ba04db769afb8d7dad7cc5d (diff)
downloademacs-62864de4950602d937722dec95c7af4108a24448.tar.gz
emacs-62864de4950602d937722dec95c7af4108a24448.zip
Revert last change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c13
2 files changed, 4 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 177af396c1f..1952f115578 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,9 +1,3 @@
12008-07-28 Chong Yidong <cyd@stupidchicken.com>
2
3 * xdisp.c (redisplay_window): Check return value of
4 compute_window_start_on_continuation_line before forcing a window
5 start.
6
72008-07-26 Eli Zaretskii <eliz@gnu.org> 12008-07-26 Eli Zaretskii <eliz@gnu.org>
8 2
9 * term.c (syms_of_term): Fix last change. 3 * term.c (syms_of_term): Fix last change.
diff --git a/src/xdisp.c b/src/xdisp.c
index 4cc4b5f233e..897dd440f15 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13239,19 +13239,14 @@ redisplay_window (window, just_this_one_p)
13239 && NILP (do_mouse_tracking) 13239 && NILP (do_mouse_tracking)
13240 && CHARPOS (startp) > BEGV 13240 && CHARPOS (startp) > BEGV
13241 && CHARPOS (startp) > BEG + save_beg_unchanged 13241 && CHARPOS (startp) > BEG + save_beg_unchanged
13242 && CHARPOS (startp) <= Z - save_end_unchanged 13242 && CHARPOS (startp) <= Z - save_end_unchanged)
13243 /* Even if w->start_at_line_beg is nil, a new window may
13244 start at a line_beg, since that's how set_buffer_window
13245 sets it. So, we need to check the return value of
13246 compute_window_start_on_continuation_line. (See also
13247 bug#197). */
13248 && XMARKER (w->start)->buffer == current_buffer
13249 && compute_window_start_on_continuation_line (w))
13250 { 13243 {
13251 w->force_start = Qt; 13244 w->force_start = Qt;
13245 if (XMARKER (w->start)->buffer == current_buffer)
13246 compute_window_start_on_continuation_line (w);
13252 SET_TEXT_POS_FROM_MARKER (startp, w->start); 13247 SET_TEXT_POS_FROM_MARKER (startp, w->start);
13253 goto force_start; 13248 goto force_start;
13254 } 13249 }
13255 13250
13256#if GLYPH_DEBUG 13251#if GLYPH_DEBUG
13257 debug_method_add (w, "same window start"); 13252 debug_method_add (w, "same window start");