Commit 45eb8d9d authored by Richard M. Stallman's avatar Richard M. Stallman

(find_defun_start): Pass new arg to scan_buffer.

parent 0132c70c
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment