aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorJim Blandy1994-10-08 22:15:36 +0000
committerJim Blandy1994-10-08 22:15:36 +0000
commitbe5357e28ee4d76098454c10b500c41a3031c227 (patch)
tree477aee975b42b4bc069a2bfb8f008d32f4e5db11 /src/syntax.c
parent9169c321e5e6b1fc3d8e88b53d845d7791d0454b (diff)
downloademacs-be5357e28ee4d76098454c10b500c41a3031c227.tar.gz
emacs-be5357e28ee4d76098454c10b500c41a3031c227.zip
* syntax.c (find_defun_start): Call scan_buffer with new args.
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 dfb743fecdc..41a236eb5bd 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, 1); 87 tem = scan_buffer ('\n', pos, BEGV, -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, 1); 95 tem = scan_buffer ('\n', tem, BEGV, -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. */