diff src/regex.c @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents c42ec1d1cded
children afd57c14dfc8
line wrap: on
line diff
--- a/src/regex.c	Mon Aug 13 10:33:19 2007 +0200
+++ b/src/regex.c	Mon Aug 13 10:34:13 2007 +0200
@@ -4474,6 +4474,10 @@
   for (;;)
     {
       DEBUG_PRINT2 ("\n0x%p: ", p);
+#ifdef emacs /* XEmacs added, w/removal of immediate_quit */
+      if (!no_quit_in_re_search)
+	QUIT;
+#endif
 
       if (p == pend)
 	{ /* End of pattern means we might have succeeded.  */