diff options
| author | Richard M. Stallman | 1995-08-05 22:55:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-05 22:55:21 +0000 |
| commit | dae3612398029091cb1ba58766ea90a479039113 (patch) | |
| tree | be89b1e2fdf54e57e41b7a4f656c39ee9d692699 /src | |
| parent | 5e8878637baa007ea7b43cbfcef81d26be3448e2 (diff) | |
| download | emacs-dae3612398029091cb1ba58766ea90a479039113.tar.gz emacs-dae3612398029091cb1ba58766ea90a479039113.zip | |
(Fdisplay_completion_list): gcpro elt.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 11 |
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)); |