aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorJoakim Verona2011-08-07 14:24:24 +0200
committerJoakim Verona2011-08-07 14:24:24 +0200
commit1cab149286abf2ec366c764e13c5036a3c6f4204 (patch)
tree41af6e515047b06d8506dd65ac781014d64149f5 /src/window.c
parent5cf126ad687c0174ab2d8de5f2acb2d1dfbefa27 (diff)
parent09ade3a37d5ecde376f264bbac1e2088eae72f53 (diff)
downloademacs-1cab149286abf2ec366c764e13c5036a3c6f4204.tar.gz
emacs-1cab149286abf2ec366c764e13c5036a3c6f4204.zip
mostly upstream
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/window.c b/src/window.c
index c945e0695f2..c7a4e1872fc 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1381,7 +1381,7 @@ if it isn't already recorded. */)
1381 if (it.current_y < it.last_visible_y) 1381 if (it.current_y < it.last_visible_y)
1382 move_it_past_eol (&it); 1382 move_it_past_eol (&it);
1383 value = make_number (IT_CHARPOS (it)); 1383 value = make_number (IT_CHARPOS (it));
1384 bidi_unshelve_cache (itdata); 1384 bidi_unshelve_cache (itdata, 0);
1385 1385
1386 if (old_buffer) 1386 if (old_buffer)
1387 set_buffer_internal (old_buffer); 1387 set_buffer_internal (old_buffer);
@@ -4278,7 +4278,7 @@ window_scroll_pixel_based (Lisp_Object window, int n, int whole, int noerror)
4278 } 4278 }
4279 4279
4280 start = it.current.pos; 4280 start = it.current.pos;
4281 bidi_unshelve_cache (itdata); 4281 bidi_unshelve_cache (itdata, 0);
4282 } 4282 }
4283 else if (auto_window_vscroll_p) 4283 else if (auto_window_vscroll_p)
4284 { 4284 {
@@ -4422,7 +4422,7 @@ window_scroll_pixel_based (Lisp_Object window, int n, int whole, int noerror)
4422 } 4422 }
4423 else 4423 else
4424 { 4424 {
4425 bidi_unshelve_cache (itdata); 4425 bidi_unshelve_cache (itdata, 0);
4426 if (noerror) 4426 if (noerror)
4427 return; 4427 return;
4428 else if (n < 0) /* could happen with empty buffers */ 4428 else if (n < 0) /* could happen with empty buffers */
@@ -4439,7 +4439,7 @@ window_scroll_pixel_based (Lisp_Object window, int n, int whole, int noerror)
4439 w->vscroll = 0; 4439 w->vscroll = 0;
4440 else 4440 else
4441 { 4441 {
4442 bidi_unshelve_cache (itdata); 4442 bidi_unshelve_cache (itdata, 0);
4443 if (noerror) 4443 if (noerror)
4444 return; 4444 return;
4445 else 4445 else
@@ -4588,7 +4588,7 @@ window_scroll_pixel_based (Lisp_Object window, int n, int whole, int noerror)
4588 SET_PT_BOTH (charpos, bytepos); 4588 SET_PT_BOTH (charpos, bytepos);
4589 } 4589 }
4590 } 4590 }
4591 bidi_unshelve_cache (itdata); 4591 bidi_unshelve_cache (itdata, 0);
4592} 4592}
4593 4593
4594 4594
@@ -5015,7 +5015,7 @@ displayed_window_lines (struct window *w)
5015 start_display (&it, w, start); 5015 start_display (&it, w, start);
5016 move_it_vertically (&it, height); 5016 move_it_vertically (&it, height);
5017 bottom_y = line_bottom_y (&it); 5017 bottom_y = line_bottom_y (&it);
5018 bidi_unshelve_cache (itdata); 5018 bidi_unshelve_cache (itdata, 0);
5019 5019
5020 /* rms: On a non-window display, 5020 /* rms: On a non-window display,
5021 the value of it.vpos at the bottom of the screen 5021 the value of it.vpos at the bottom of the screen
@@ -5121,7 +5121,7 @@ and redisplay normally--don't erase and redraw the frame. */)
5121 move_it_vertically_backward (&it, window_box_height (w) / 2); 5121 move_it_vertically_backward (&it, window_box_height (w) / 2);
5122 charpos = IT_CHARPOS (it); 5122 charpos = IT_CHARPOS (it);
5123 bytepos = IT_BYTEPOS (it); 5123 bytepos = IT_BYTEPOS (it);
5124 bidi_unshelve_cache (itdata); 5124 bidi_unshelve_cache (itdata, 0);
5125 } 5125 }
5126 else if (iarg < 0) 5126 else if (iarg < 0)
5127 { 5127 {
@@ -5169,7 +5169,7 @@ and redisplay normally--don't erase and redraw the frame. */)
5169 } 5169 }
5170 if (h <= 0) 5170 if (h <= 0)
5171 { 5171 {
5172 bidi_unshelve_cache (itdata); 5172 bidi_unshelve_cache (itdata, 0);
5173 return Qnil; 5173 return Qnil;
5174 } 5174 }
5175 5175
@@ -5192,7 +5192,7 @@ and redisplay normally--don't erase and redraw the frame. */)
5192 charpos = IT_CHARPOS (it); 5192 charpos = IT_CHARPOS (it);
5193 bytepos = IT_BYTEPOS (it); 5193 bytepos = IT_BYTEPOS (it);
5194 5194
5195 bidi_unshelve_cache (itdata); 5195 bidi_unshelve_cache (itdata, 0);
5196 } 5196 }
5197 else 5197 else
5198 { 5198 {