mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 17:10:51 -08:00
(Fminibuffer_complete_word): Move `completion_string'
declaration to where it is used.
This commit is contained in:
parent
d6a31e9ffd
commit
e8157eae64
1 changed files with 1 additions and 2 deletions
|
|
@ -2158,7 +2158,6 @@ Return nil if there is no valid completion, else t. */)
|
|||
{
|
||||
Lisp_Object completion, tem, tem1;
|
||||
register int i, i_byte;
|
||||
register const unsigned char *completion_string;
|
||||
struct gcpro gcpro1, gcpro2;
|
||||
int prompt_end_charpos = XINT (Fminibuffer_prompt_end ());
|
||||
|
||||
|
|
@ -2289,7 +2288,7 @@ Return nil if there is no valid completion, else t. */)
|
|||
{
|
||||
int len, c;
|
||||
int bytes = SBYTES (completion);
|
||||
completion_string = SDATA (completion);
|
||||
register const unsigned char *completion_string = SDATA (completion);
|
||||
for (; i_byte < SBYTES (completion); i_byte += len, i++)
|
||||
{
|
||||
c = STRING_CHAR_AND_LENGTH (completion_string + i_byte,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue