From be5357e28ee4d76098454c10b500c41a3031c227 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 8 Oct 1994 22:15:36 +0000 Subject: [PATCH] * syntax.c (find_defun_start): Call scan_buffer with new args. --- src/syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/syntax.c b/src/syntax.c index dfb743fecdc..41a236eb5bd 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, 1); + tem = scan_buffer ('\n', pos, BEGV, -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, 1); + tem = scan_buffer ('\n', tem, BEGV, -2, &shortage, 1); } /* Record what we found, for the next try. */ -- 2.39.5