diff options
| author | Karl Heuer | 1994-06-18 00:13:37 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-06-18 00:13:37 +0000 |
| commit | 8c5b6a0af6da86f9e853e96a1d6e6ed6faa37578 (patch) | |
| tree | f535f8134ac9c60202f803450de58e674b4a4cf7 /src | |
| parent | 2182673466e21e518bd9647ee691507012a40da0 (diff) | |
| download | emacs-8c5b6a0af6da86f9e853e96a1d6e6ed6faa37578.tar.gz emacs-8c5b6a0af6da86f9e853e96a1d6e6ed6faa37578.zip | |
minibuf_prompt is now a Lisp_Object.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
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 (); | |||
| 144 | static int display_count_lines (); | 144 | static 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 */ |
| 147 | char *minibuf_prompt; | 147 | Lisp_Object minibuf_prompt; |
| 148 | 148 | ||
| 149 | /* Width in columns of current minibuffer prompt. */ | 149 | /* Width in columns of current minibuffer prompt. */ |
| 150 | int minibuf_prompt_width; | 150 | int 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); |