aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-08-31 17:23:50 +0000
committerRichard M. Stallman1995-08-31 17:23:50 +0000
commit47d7d104aca43be9524472dfae1d6bb519423180 (patch)
tree35074f79eaa5d4f4070339379a4d93a6c5278a47 /src
parent007f0260412566a6458fc8e52a29121ca7aa8f0a (diff)
downloademacs-47d7d104aca43be9524472dfae1d6bb519423180.tar.gz
emacs-47d7d104aca43be9524472dfae1d6bb519423180.zip
(Fdisplay_completion_list): Clear all text properties
for the whitespace between completion items.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 39be2789da9..e03b4820801 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1506,6 +1506,7 @@ It can find the completion buffer in `standard-output'.")
1506 { 1506 {
1507 Lisp_Object tem; 1507 Lisp_Object tem;
1508 int length; 1508 int length;
1509 Lisp_Object startpos, endpos;
1509 1510
1510 elt = Fcar (tail); 1511 elt = Fcar (tail);
1511 /* Compute the length of this element. */ 1512 /* Compute the length of this element. */
@@ -1529,6 +1530,9 @@ It can find the completion buffer in `standard-output'.")
1529 Sadly, the window it will appear in is not known 1530 Sadly, the window it will appear in is not known
1530 until after the text has been made. */ 1531 until after the text has been made. */
1531 1532
1533 if (BUFFERP (Vstandard_output))
1534 XSETINT (startpos, BUF_PT (XBUFFER (Vstandard_output)));
1535
1532 /* If the previous completion was very wide, 1536 /* If the previous completion was very wide,
1533 or we have two on this line already, 1537 or we have two on this line already,
1534 don't put another on the same line. */ 1538 don't put another on the same line. */
@@ -1545,6 +1549,7 @@ It can find the completion buffer in `standard-output'.")
1545 if (BUFFERP (Vstandard_output)) 1549 if (BUFFERP (Vstandard_output))
1546 { 1550 {
1547 tem = Findent_to (make_number (35), make_number (2)); 1551 tem = Findent_to (make_number (35), make_number (2));
1552
1548 column = XINT (tem); 1553 column = XINT (tem);
1549 } 1554 }
1550 else 1555 else
@@ -1558,6 +1563,13 @@ It can find the completion buffer in `standard-output'.")
1558 } 1563 }
1559 } 1564 }
1560 1565
1566 if (BUFFERP (Vstandard_output))
1567 {
1568 XSETINT (endpos, BUF_PT (XBUFFER (Vstandard_output)));
1569 Fset_text_properties (startpos, endpos,
1570 Qnil, Vstandard_output);
1571 }
1572
1561 /* Output this element and update COLUMN. */ 1573 /* Output this element and update COLUMN. */
1562 if (CONSP (elt)) 1574 if (CONSP (elt))
1563 { 1575 {