emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/search.c


From: Ken Raeburn
Subject: [Emacs-diffs] Changes to emacs/src/search.c
Date: Tue, 16 Jul 2002 13:11:56 -0400

Index: emacs/src/search.c
diff -c emacs/src/search.c:1.166 emacs/src/search.c:1.167
*** emacs/src/search.c:1.166    Tue Jul 16 11:49:53 2002
--- emacs/src/search.c  Tue Jul 16 13:11:56 2002
***************
*** 212,220 ****
        cp = *cpp;
        /* Entries are initialized to nil, and may be set to nil by
         compile_pattern_1 if the pattern isn't valid.  Don't apply
!        XSTRING in those cases.  However, compile_pattern_1 is only
!        applied to the cache entry we pick here to reuse.  So nil
!        should never appear before a non-nil entry.  */
        if (NILP (cp->regexp))
        goto compile_it;
        if (SCHARS (cp->regexp) == SCHARS (pattern)
--- 212,220 ----
        cp = *cpp;
        /* Entries are initialized to nil, and may be set to nil by
         compile_pattern_1 if the pattern isn't valid.  Don't apply
!        string accessors in those cases.  However, compile_pattern_1
!        is only applied to the cache entry we pick here to reuse.  So
!        nil should never appear before a non-nil entry.  */
        if (NILP (cp->regexp))
        goto compile_it;
        if (SCHARS (cp->regexp) == SCHARS (pattern)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]