From 45eb8d9d68659cd44380a0045735dbcc9629abb1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 3 Feb 1994 05:05:42 +0000 Subject: [PATCH] (find_defun_start): Pass new arg to scan_buffer. --- src/syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/syntax.c b/src/syntax.c index cae5eb49893..e4912bab65d 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -84,7 +84,7 @@ find_defun_start (pos) return find_start_value; /* Back up to start of line. */ - tem = scan_buffer ('\n', pos, -1, &shortage); + tem = scan_buffer ('\n', pos, -1, &shortage, 1); while (tem > BEGV) { @@ -92,7 +92,7 @@ find_defun_start (pos) if (SYNTAX (FETCH_CHAR (tem)) == Sopen) break; /* Move to beg of previous line. */ - tem = scan_buffer ('\n', tem, -2, &shortage); + tem = scan_buffer ('\n', tem, -2, &shortage, 1); } /* Record what we found, for the next try. */ -- 2.39.5