]> git.eshelyaron.com Git - emacs.git/commitdiff
(find_next_newline_no_quit): New function.
authorRichard M. Stallman <rms@gnu.org>
Tue, 14 Jun 1994 21:54:45 +0000 (21:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 14 Jun 1994 21:54:45 +0000 (21:54 +0000)
src/search.c

index b4ef3229ac2cff252ff7d28e04911e1e86423f69..e894e22dd6d5e64e68948a6ddb40d30c5c75cbbe 100644 (file)
@@ -348,6 +348,13 @@ scan_buffer (target, start, count, shortage, allow_quit)
   return (start + ((direction == 1 ? 0 : 1)));
 }
 
+int
+find_next_newline_no_quit (from, cnt)
+     register int from, cnt;
+{
+  return scan_buffer ('\n', from, cnt, (int *) 0, 0);
+}
+
 int
 find_next_newline (from, cnt)
      register int from, cnt;