changeset 7892:cabad721720f

(vmotion): Use find_next_newline_no_quit. (indented_beyond_p): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Tue, 14 Jun 1994 21:57:11 +0000
parents 7d8e0f338e4a
children e54617027a47
files src/indent.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Tue Jun 14 21:54:45 1994 +0000
+++ b/src/indent.c	Tue Jun 14 21:57:11 1994 +0000
@@ -280,7 +280,7 @@
      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 @@
 	 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 @@
 						    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 @@
       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))