aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-02-03 05:05:42 +0000
committerRichard M. Stallman1994-02-03 05:05:42 +0000
commit45eb8d9d68659cd44380a0045735dbcc9629abb1 (patch)
tree89e2cf4eb0785675d6a8bec36ebe3b512e95a00b /src/syntax.c
parent0132c70c047bc80b9bb13250041004276ca3e5b1 (diff)
downloademacs-45eb8d9d68659cd44380a0045735dbcc9629abb1.tar.gz
emacs-45eb8d9d68659cd44380a0045735dbcc9629abb1.zip
(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)
84 return find_start_value; 84 return find_start_value;
85 85
86 /* Back up to start of line. */ 86 /* Back up to start of line. */
87 tem = scan_buffer ('\n', pos, -1, &shortage); 87 tem = scan_buffer ('\n', pos, -1, &shortage, 1);
88 88
89 while (tem > BEGV) 89 while (tem > BEGV)
90 { 90 {
@@ -92,7 +92,7 @@ find_defun_start (pos)
92 if (SYNTAX (FETCH_CHAR (tem)) == Sopen) 92 if (SYNTAX (FETCH_CHAR (tem)) == Sopen)
93 break; 93 break;
94 /* Move to beg of previous line. */ 94 /* Move to beg of previous line. */
95 tem = scan_buffer ('\n', tem, -2, &shortage); 95 tem = scan_buffer ('\n', tem, -2, &shortage, 1);
96 } 96 }
97 97
98 /* Record what we found, for the next try. */ 98 /* Record what we found, for the next try. */