# HG changeset patch # User Jim Blandy # Date 781654536 0 # Node ID 0b9c70f56cf890e38574ec40b7cb6b85ae5ec9bd # Parent 8598c3d6f2f051312b4cb11476f3c3aa9324fa95 * syntax.c (find_defun_start): Call scan_buffer with new args. diff -r 8598c3d6f2f0 -r 0b9c70f56cf8 src/syntax.c --- a/src/syntax.c Sat Oct 08 22:15:15 1994 +0000 +++ b/src/syntax.c Sat Oct 08 22:15:36 1994 +0000 @@ -84,7 +84,7 @@ 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 @@ 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. */