From: Richard M. Stallman Date: Tue, 14 Jun 1994 21:57:11 +0000 (+0000) Subject: (vmotion): Use find_next_newline_no_quit. X-Git-Tag: emacs-19.34~7961 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=04d25c3dbf05d9be0016a7fef1ebc5b966dae159;p=emacs.git (vmotion): Use find_next_newline_no_quit. (indented_beyond_p): Likewise. --- 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) int pos, column; { while (pos > BEGV && FETCH_CHAR (pos) == '\n') - pos = find_next_newline (pos - 1, -1); + pos = find_next_newline_no_quit (pos - 1, -1); return (position_indentation (pos) >= column); } @@ -767,7 +767,7 @@ vmotion (from, vtarget, width, hscroll, window) to determine hpos of starting point */ if (from > BEGV && FETCH_CHAR (from - 1) != '\n') { - prevline = find_next_newline (from, -1); + prevline = find_next_newline_no_quit (from, -1); while (prevline > BEGV && ((selective > 0 && indented_beyond_p (prevline, selective)) @@ -778,7 +778,7 @@ vmotion (from, vtarget, width, hscroll, window) window)) #endif )) - prevline = find_next_newline (prevline - 1, -1); + prevline = find_next_newline_no_quit (prevline - 1, -1); pos = *compute_motion (prevline, 0, lmargin + (prevline == 1 ? start_hpos : 0), from, 1 << (INTBITS - 2), 0, @@ -805,7 +805,7 @@ vmotion (from, vtarget, width, hscroll, window) prevline = from; while (1) { - prevline = find_next_newline (prevline - 1, -1); + prevline = find_next_newline_no_quit (prevline - 1, -1); if (prevline == BEGV || ((selective <= 0 || ! indented_beyond_p (prevline, selective))