]> git.eshelyaron.com Git - emacs.git/commitdiff
(syms_of_search): Staticpro searchbuf.whitespace_regexp.
authorKim F. Storm <storm@cua.dk>
Thu, 14 Jul 2005 11:24:08 +0000 (11:24 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 14 Jul 2005 11:24:08 +0000 (11:24 +0000)
src/search.c

index 6beaa2d4186a203ddb3f2e0dd400c9d25fb540ef..23807ffd5207d617d7e9a6720f9ecb62f8c0ee4c 100644 (file)
@@ -3085,6 +3085,7 @@ syms_of_search ()
       searchbufs[i].regexp = Qnil;
       searchbufs[i].whitespace_regexp = Qnil;
       staticpro (&searchbufs[i].regexp);
+      staticpro (&searchbufs[i].whitespace_regexp);
       searchbufs[i].next = (i == REGEXP_CACHE_SIZE-1 ? 0 : &searchbufs[i+1]);
     }
   searchbuf_head = &searchbufs[0];