From: Jim Blandy Date: Sat, 8 Oct 1994 22:15:36 +0000 (+0000) Subject: * syntax.c (find_defun_start): Call scan_buffer with new args. X-Git-Tag: emacs-19.34~6443 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be5357e28ee4d76098454c10b500c41a3031c227;p=emacs.git * syntax.c (find_defun_start): Call scan_buffer with new args. --- 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. */