changeset 7951:e609577aa2f3

minibuf_prompt is now a Lisp_Object.
author Karl Heuer <kwzh@gnu.org>
date Sat, 18 Jun 1994 00:13:37 +0000
parents c0a4d26e7498
children 9e2e0fdd1710
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Jun 18 00:13:02 1994 +0000
+++ b/src/xdisp.c	Sat Jun 18 00:13:37 1994 +0000
@@ -144,7 +144,7 @@
 static int display_count_lines ();
 
 /* Prompt to display in front of the minibuffer contents */
-char *minibuf_prompt;
+Lisp_Object minibuf_prompt;
 
 /* Width in columns of current minibuffer prompt.  */
 int minibuf_prompt_width;
@@ -2052,10 +2052,11 @@
   if (MINI_WINDOW_P (w) && start == 1
       && vpos == XFASTINT (w->top))
     {
-      if (minibuf_prompt)
+      if (! NILP (minibuf_prompt))
 	{
 	  minibuf_prompt_width
-	    = (display_string (w, vpos, minibuf_prompt, -1, hpos,
+	    = (display_string (w, vpos, XSTRING (minibuf_prompt)->data,
+			       XSTRING (minibuf_prompt)->size, hpos,
 			       (!truncate ? continuer : truncator),
 			       1, -1, -1)
 	       - hpos);