changeset 26985:1121a5da20a5

(looking_at_1): Reset immediate_quit before modifying global data.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 25 Dec 1999 12:55:46 +0000
parents 34455eeaf747
children 491102e8acc4
files src/search.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Fri Dec 24 01:06:50 1999 +0000
+++ b/src/search.c	Sat Dec 25 12:55:46 1999 +0000
@@ -308,6 +308,8 @@
   i = re_match_2 (bufp, (char *) p1, s1, (char *) p2, s2,
 		  PT_BYTE - BEGV_BYTE, &search_regs,
 		  ZV_BYTE - BEGV_BYTE);
+  immediate_quit = 0;
+  
   if (i == -2)
     matcher_overflow ();
 
@@ -322,7 +324,6 @@
 	    = BYTE_TO_CHAR (search_regs.end[i] + BEGV_BYTE);
 	}
   XSETBUFFER (last_thing_searched, current_buffer);
-  immediate_quit = 0;
   return val;
 }