aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indent.c b/src/indent.c
index 6ce752b93b0..a2233dd3c90 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -280,7 +280,7 @@ indented_beyond_p (pos, column)
280 int pos, column; 280 int pos, column;
281{ 281{
282 while (pos > BEGV && FETCH_CHAR (pos) == '\n') 282 while (pos > BEGV && FETCH_CHAR (pos) == '\n')
283 pos = find_next_newline (pos - 1, -1); 283 pos = find_next_newline_no_quit (pos - 1, -1);
284 return (position_indentation (pos) >= column); 284 return (position_indentation (pos) >= column);
285} 285}
286 286
@@ -767,7 +767,7 @@ vmotion (from, vtarget, width, hscroll, window)
767 to determine hpos of starting point */ 767 to determine hpos of starting point */
768 if (from > BEGV && FETCH_CHAR (from - 1) != '\n') 768 if (from > BEGV && FETCH_CHAR (from - 1) != '\n')
769 { 769 {
770 prevline = find_next_newline (from, -1); 770 prevline = find_next_newline_no_quit (from, -1);
771 while (prevline > BEGV 771 while (prevline > BEGV
772 && ((selective > 0 772 && ((selective > 0
773 && indented_beyond_p (prevline, selective)) 773 && indented_beyond_p (prevline, selective))
@@ -778,7 +778,7 @@ vmotion (from, vtarget, width, hscroll, window)
778 window)) 778 window))
779#endif 779#endif
780 )) 780 ))
781 prevline = find_next_newline (prevline - 1, -1); 781 prevline = find_next_newline_no_quit (prevline - 1, -1);
782 pos = *compute_motion (prevline, 0, 782 pos = *compute_motion (prevline, 0,
783 lmargin + (prevline == 1 ? start_hpos : 0), 783 lmargin + (prevline == 1 ? start_hpos : 0),
784 from, 1 << (INTBITS - 2), 0, 784 from, 1 << (INTBITS - 2), 0,
@@ -805,7 +805,7 @@ vmotion (from, vtarget, width, hscroll, window)
805 prevline = from; 805 prevline = from;
806 while (1) 806 while (1)
807 { 807 {
808 prevline = find_next_newline (prevline - 1, -1); 808 prevline = find_next_newline_no_quit (prevline - 1, -1);
809 if (prevline == BEGV 809 if (prevline == BEGV
810 || ((selective <= 0 810 || ((selective <= 0
811 || ! indented_beyond_p (prevline, selective)) 811 || ! indented_beyond_p (prevline, selective))