Mercurial > emacs
changeset 2475:052bbdf1b817
(search_buffer): Fix typo in previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 07 Apr 1993 20:08:55 +0000 |
parents | 86c8a6e08fd4 |
children | 11bc604c077f |
files | src/search.c |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Wed Apr 07 20:04:50 1993 +0000 +++ b/src/search.c Wed Apr 07 20:08:55 1993 +0000 @@ -670,11 +670,12 @@ } while (n < 0) { + int val; BLOCK_INPUT; - int val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, - pos - BEGV, lim - pos, &search_regs, - /* Don't allow match past current point */ - pos - BEGV); + val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, + pos - BEGV, lim - pos, &search_regs, + /* Don't allow match past current point */ + pos - BEGV); UNBLOCK_INPUT; if (val == -2) matcher_overflow (); @@ -700,10 +701,11 @@ } while (n > 0) { + int val; BLOCK_INPUT; - int val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, - pos - BEGV, lim - pos, &search_regs, - lim - BEGV); + val = re_search_2 (&searchbuf, (char *) p1, s1, (char *) p2, s2, + pos - BEGV, lim - pos, &search_regs, + lim - BEGV); UNBLOCK_INPUT; if (val == -2) matcher_overflow ();