From: Richard M. Stallman Date: Thu, 3 Feb 1994 05:05:42 +0000 (+0000) Subject: (find_defun_start): Pass new arg to scan_buffer. X-Git-Tag: emacs-19.34~10096 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=45eb8d9d68659cd44380a0045735dbcc9629abb1;p=emacs.git (find_defun_start): Pass new arg to scan_buffer. --- 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. */