summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-03 05:05:42 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-03 05:05:42 +0000
commit0fdd2e63de6888be508b479fdc877acbc9ae398a (patch)
treebc935020943ecdf8d6eda2829e423f4a7424cd6b /src/syntax.c
parentef1e3281bce1400843c64e629b90aba2366db78d (diff)
downloademacs-0fdd2e63de6888be508b479fdc877acbc9ae398a.tar.gz
(find_defun_start): Pass new arg to scan_buffer.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 2 insertions, 2 deletions
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. */