diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c index 9de9bece213..abb38c70241 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -502,9 +502,10 @@ search_command (string, bound, noerror, count, direction, RE) | |||
| 502 | { | 502 | { |
| 503 | if (lim < BEGV || lim > ZV) | 503 | if (lim < BEGV || lim > ZV) |
| 504 | abort (); | 504 | abort (); |
| 505 | SET_PT (lim); | 505 | np = lim; |
| 506 | } | 506 | } |
| 507 | return Qnil; | 507 | else |
| 508 | return Qnil; | ||
| 508 | } | 509 | } |
| 509 | 510 | ||
| 510 | if (np < BEGV || np > ZV) | 511 | if (np < BEGV || np > ZV) |