Mercurial > emacs
changeset 9411:0b9c70f56cf8
* syntax.c (find_defun_start): Call scan_buffer with new args.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 08 Oct 1994 22:15:36 +0000 |
parents | 8598c3d6f2f0 |
children | 53898786366f |
files | src/syntax.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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. */