aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-06-18 00:13:37 +0000
committerKarl Heuer1994-06-18 00:13:37 +0000
commit8c5b6a0af6da86f9e853e96a1d6e6ed6faa37578 (patch)
treef535f8134ac9c60202f803450de58e674b4a4cf7 /src
parent2182673466e21e518bd9647ee691507012a40da0 (diff)
downloademacs-8c5b6a0af6da86f9e853e96a1d6e6ed6faa37578.tar.gz
emacs-8c5b6a0af6da86f9e853e96a1d6e6ed6faa37578.zip
minibuf_prompt is now a Lisp_Object.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 25519fb885e..937da4f02a1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -144,7 +144,7 @@ static void display_menu_bar ();
144static int display_count_lines (); 144static int display_count_lines ();
145 145
146/* Prompt to display in front of the minibuffer contents */ 146/* Prompt to display in front of the minibuffer contents */
147char *minibuf_prompt; 147Lisp_Object minibuf_prompt;
148 148
149/* Width in columns of current minibuffer prompt. */ 149/* Width in columns of current minibuffer prompt. */
150int minibuf_prompt_width; 150int minibuf_prompt_width;
@@ -2052,10 +2052,11 @@ display_text_line (w, start, vpos, hpos, taboffset)
2052 if (MINI_WINDOW_P (w) && start == 1 2052 if (MINI_WINDOW_P (w) && start == 1
2053 && vpos == XFASTINT (w->top)) 2053 && vpos == XFASTINT (w->top))
2054 { 2054 {
2055 if (minibuf_prompt) 2055 if (! NILP (minibuf_prompt))
2056 { 2056 {
2057 minibuf_prompt_width 2057 minibuf_prompt_width
2058 = (display_string (w, vpos, minibuf_prompt, -1, hpos, 2058 = (display_string (w, vpos, XSTRING (minibuf_prompt)->data,
2059 XSTRING (minibuf_prompt)->size, hpos,
2059 (!truncate ? continuer : truncator), 2060 (!truncate ? continuer : truncator),
2060 1, -1, -1) 2061 1, -1, -1)
2061 - hpos); 2062 - hpos);