/[emacs]/emacs/src/minibuf.c
ViewVC logotype

Diff of /emacs/src/minibuf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.235.2.2 by fx, Wed Jul 3 22:23:44 2002 UTC revision 1.235.2.3 by handa, Tue Sep 3 04:08:49 2002 UTC
# Line 1967  Return nil if there is no valid completi Line 1967  Return nil if there is no valid completi
1967    
1968    /* Now find first word-break in the stuff found by completion.    /* Now find first word-break in the stuff found by completion.
1969       i gets index in string of where to stop completing.  */       i gets index in string of where to stop completing.  */
1970    {    while (i_byte < STRING_BYTES (XSTRING (completion)))
1971      int len, c;      {
1972      completion_string = XSTRING (completion)->data;        int c;
1973      for (; i_byte < STRING_BYTES (XSTRING (completion)); i_byte += len, i++)  
1974        {        FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE (c, completion, i, i_byte);
1975          c = STRING_CHAR_AND_LENGTH (completion_string + i_byte,        if (SYNTAX (c) != Sword)
1976                                      bytes - i_byte,          break;
1977                                      len);      }
         if (SYNTAX (c) != Sword)  
           {  
             i_byte += len;  
             i++;  
             break;  
           }  
       }  
   }  
1978    
1979    /* If got no characters, print help for user.  */    /* If got no characters, print help for user.  */
1980    

Legend:
Removed from v.1.235.2.2  
changed lines
  Added in v.1.235.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26