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 |
|
|