aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 1ee03170846..50fc2ae7637 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2147,8 +2147,13 @@ display_text_line (w, start, vpos, hpos, taboffset)
2147 minibuf_prompt_width 2147 minibuf_prompt_width
2148 = (display_string (w, vpos, XSTRING (minibuf_prompt)->data, 2148 = (display_string (w, vpos, XSTRING (minibuf_prompt)->data,
2149 XSTRING (minibuf_prompt)->size, hpos, 2149 XSTRING (minibuf_prompt)->size, hpos,
2150 (!truncate ? continuer : truncator), 2150 /* Display a space if we truncate. */
2151 1, -1, -1) 2151 ' ',
2152 1, -1,
2153 /* Truncate the prompt a little before the
2154 margin, so user input can at least start
2155 on the first line. */
2156 w->width > 10 ? w->width - 4 : -1)
2152 - hpos); 2157 - hpos);
2153 hpos += minibuf_prompt_width; 2158 hpos += minibuf_prompt_width;
2154 } 2159 }