aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index afd27c76a35..39be2789da9 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1479,16 +1479,19 @@ It can find the completion buffer in `standard-output'.")
1479 (completions) 1479 (completions)
1480 Lisp_Object completions; 1480 Lisp_Object completions;
1481{ 1481{
1482 register Lisp_Object tail, elt; 1482 Lisp_Object tail, elt;
1483 register int i; 1483 register int i;
1484 int column = 0; 1484 int column = 0;
1485 struct gcpro gcpro1; 1485 struct gcpro gcpro1, gcpro2;
1486 struct buffer *old = current_buffer; 1486 struct buffer *old = current_buffer;
1487 int first = 1; 1487 int first = 1;
1488 1488
1489 /* Note that (when it matters) every variable 1489 /* Note that (when it matters) every variable
1490 points to a non-string that is pointed to by COMPLETIONS. */ 1490 points to a non-string that is pointed to by COMPLETIONS,
1491 GCPRO1 (completions); 1491 except for ELT. ELT can be pointing to a string
1492 when terpri or Findent_to calls a change hook. */
1493 elt = Qnil;
1494 GCPRO2 (completions, elt);
1492 1495
1493 if (BUFFERP (Vstandard_output)) 1496 if (BUFFERP (Vstandard_output))
1494 set_buffer_internal (XBUFFER (Vstandard_output)); 1497 set_buffer_internal (XBUFFER (Vstandard_output));