From 63fa018d4cf63c70b43aac0b80c495219a304bd0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 14 Jun 1994 21:54:45 +0000 Subject: (find_next_newline_no_quit): New function. --- src/search.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/search.c') diff --git a/src/search.c b/src/search.c index b4ef3229ac2..e894e22dd6d 100644 --- a/src/search.c +++ b/src/search.c @@ -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; -- cgit v1.2.1