*** callint.c.~1.167.~ 2008-05-14 09:49:11.000000000 +0200 --- callint.c 2008-12-24 11:09:49.859375000 +0100 *************** *** 45,50 **** --- 45,51 ---- Lisp_Object Vcommand_debug_status, Qcommand_debug_status; Lisp_Object Qenable_recursive_minibuffers; + extern Lisp_Object Qface, Qminibuffer_prompt; /* Non-nil means treat the mark as active even if mark_active is 0. */ *************** *** 541,546 **** --- 542,550 ---- break; case 'c': /* Character */ + Fput_text_property (make_number (0), + make_number (SCHARS (callint_message)), + Qface, Qminibuffer_prompt, callint_message); args[i] = Fread_char (callint_message, Qnil, Qnil); message1_nolog ((char *) 0); /* Passing args[i] directly stimulates compiler bug */ *************** *** 594,599 **** --- 598,606 ---- { int speccount1 = SPECPDL_INDEX (); specbind (Qcursor_in_echo_area, Qt); + Fput_text_property (make_number (0), + make_number (SCHARS (callint_message)), + Qface, Qminibuffer_prompt, callint_message); args[i] = Fread_key_sequence (callint_message, Qnil, Qnil, Qnil, Qnil); unbind_to (speccount1, Qnil); *************** *** 622,627 **** --- 629,637 ---- { int speccount1 = SPECPDL_INDEX (); specbind (Qcursor_in_echo_area, Qt); + Fput_text_property (make_number (0), + make_number (SCHARS (callint_message)), + Qface, Qminibuffer_prompt, callint_message); args[i] = Fread_key_sequence (callint_message, Qnil, Qt, Qnil, Qnil); teml = args[i]; *** textprop.c.~1.163.~ 2008-11-03 18:21:08.015625000 +0100 --- textprop.c 2008-12-24 11:17:14.859375000 +0100 *************** *** 57,62 **** --- 57,63 ---- /* Visual properties text (including strings) may have. */ Lisp_Object Qforeground, Qbackground, Qfont, Qunderline, Qstipple; Lisp_Object Qinvisible, Qread_only, Qintangible, Qmouse_face; + Lisp_Object Qminibuffer_prompt; /* Sticky properties */ Lisp_Object Qfront_sticky, Qrear_nonsticky; *************** *** 2334,2339 **** --- 2335,2342 ---- Qrear_nonsticky = intern ("rear-nonsticky"); staticpro (&Qmouse_face); Qmouse_face = intern ("mouse-face"); + staticpro (&Qminibuffer_prompt); + Qminibuffer_prompt = intern ("minibuffer-prompt"); /* Properties that text might use to specify certain actions */