diff options
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/syntax.c b/src/syntax.c index 6c7819a8cbd..3bb9e2956cc 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -82,9 +82,6 @@ find_defun_start (pos) | |||
| 82 | 82 | ||
| 83 | /* Back up to start of line. */ | 83 | /* Back up to start of line. */ |
| 84 | tem = scan_buffer ('\n', pos, -1, &shortage); | 84 | tem = scan_buffer ('\n', pos, -1, &shortage); |
| 85 | /* If we found a newline, we moved back over it, so advance fwd past it. */ | ||
| 86 | if (shortage == 0) | ||
| 87 | tem++; | ||
| 88 | 85 | ||
| 89 | while (tem > BEGV) | 86 | while (tem > BEGV) |
| 90 | { | 87 | { |
| @@ -93,8 +90,6 @@ find_defun_start (pos) | |||
| 93 | break; | 90 | break; |
| 94 | /* Move to beg of previous line. */ | 91 | /* Move to beg of previous line. */ |
| 95 | tem = scan_buffer ('\n', tem, -2, &shortage); | 92 | tem = scan_buffer ('\n', tem, -2, &shortage); |
| 96 | if (shortage == 0) | ||
| 97 | tem++; | ||
| 98 | } | 93 | } |
| 99 | 94 | ||
| 100 | /* Record what we found, for the next try. */ | 95 | /* Record what we found, for the next try. */ |