aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 096e02c0034..ace1e0dda76 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -2158,7 +2158,6 @@ Return nil if there is no valid completion, else t. */)
2158{ 2158{
2159 Lisp_Object completion, tem, tem1; 2159 Lisp_Object completion, tem, tem1;
2160 register int i, i_byte; 2160 register int i, i_byte;
2161 register const unsigned char *completion_string;
2162 struct gcpro gcpro1, gcpro2; 2161 struct gcpro gcpro1, gcpro2;
2163 int prompt_end_charpos = XINT (Fminibuffer_prompt_end ()); 2162 int prompt_end_charpos = XINT (Fminibuffer_prompt_end ());
2164 2163
@@ -2289,7 +2288,7 @@ Return nil if there is no valid completion, else t. */)
2289 { 2288 {
2290 int len, c; 2289 int len, c;
2291 int bytes = SBYTES (completion); 2290 int bytes = SBYTES (completion);
2292 completion_string = SDATA (completion); 2291 register const unsigned char *completion_string = SDATA (completion);
2293 for (; i_byte < SBYTES (completion); i_byte += len, i++) 2292 for (; i_byte < SBYTES (completion); i_byte += len, i++)
2294 { 2293 {
2295 c = STRING_CHAR_AND_LENGTH (completion_string + i_byte, 2294 c = STRING_CHAR_AND_LENGTH (completion_string + i_byte,