diff options
| author | Richard M. Stallman | 1994-02-03 05:05:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-02-03 05:05:42 +0000 |
| commit | 45eb8d9d68659cd44380a0045735dbcc9629abb1 (patch) | |
| tree | 89e2cf4eb0785675d6a8bec36ebe3b512e95a00b /src | |
| parent | 0132c70c047bc80b9bb13250041004276ca3e5b1 (diff) | |
| download | emacs-45eb8d9d68659cd44380a0045735dbcc9629abb1.tar.gz emacs-45eb8d9d68659cd44380a0045735dbcc9629abb1.zip | |
(find_defun_start): Pass new arg to scan_buffer.
Diffstat (limited to 'src')
| -rw-r--r-- | src/syntax.c | 4 |
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. */ |