1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

* syntax.c (find_defun_start): Call scan_buffer with new args.

This commit is contained in:
Jim Blandy 1994-10-08 22:15:36 +00:00
parent 9169c321e5
commit be5357e28e

View File

@ -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. */