HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a31e9
)
(Fminibuffer_complete_word): Move `completion_string'
author
Kim F. Storm
<storm@cua.dk>
Mon, 12 Sep 2005 10:26:48 +0000
(10:26 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Mon, 12 Sep 2005 10:26:48 +0000
(10:26 +0000)
declaration to where it is used.
src/minibuf.c
patch
|
blob
|
blame
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index
096e02c
..
ace1e0d
100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-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,