comparison src/minibuf.c @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents 9f59509498e1
children 8eaf7971accc
comparison
equal deleted inserted replaced
148:f659db2a1f73 149:538048ae2ab8
128 { 128 {
129 CHECK_STRING (preprompt); 129 CHECK_STRING (preprompt);
130 130
131 Vminibuf_preprompt = LISP_GETTEXT (preprompt); 131 Vminibuf_preprompt = LISP_GETTEXT (preprompt);
132 } 132 }
133 return Qnil;
133 } 134 }
134 135
135 DEFUN ("read-minibuffer-internal", Fread_minibuffer_internal, 1, 1, 0, /* 136 DEFUN ("read-minibuffer-internal", Fread_minibuffer_internal, 1, 1, 0, /*
136 Lowest-level interface to minibuffers. Don't call this. 137 Lowest-level interface to minibuffers. Don't call this.
137 */ 138 */
620 /* More than useless. I've nuked minibuf_prompt_width so they won't 621 /* More than useless. I've nuked minibuf_prompt_width so they won't
621 function at all in XEmacs at the moment. They are used to 622 function at all in XEmacs at the moment. They are used to
622 implement some braindamage in FSF which we aren't including. --cet */ 623 implement some braindamage in FSF which we aren't including. --cet */
623 624
624 #if 0 625 #if 0
625 xxDEFUN ("minibuffer-prompt", Fminibuffer_prompt, Sminibuffer_prompt, 0, 0, 0, 626 xxDEFUN ("minibuffer-prompt", Fminibuffer_prompt, 0, 0, 0, /*
626 "Return the prompt string of the currently-active minibuffer.\n" 627 Return the prompt string of the currently-active minibuffer.
627 "If no minibuffer is active, return nil.") 628 If no minibuffer is active, return nil.
628 () 629 */
630 ())
629 { 631 {
630 return (Fcopy_sequence (Vminibuf_prompt)); 632 return (Fcopy_sequence (Vminibuf_prompt));
631 } 633 }
632 634
633 xxDEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width, 635 xxDEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width, 0, 0, 0, /*
634 Sminibuffer_prompt_width, 0, 0, 0, 636 Return the display width of the minibuffer prompt.
635 "Return the display width of the minibuffer prompt.") 637 */
636 () 638 ())
637 { 639 {
638 return (make_int (minibuf_prompt_width)); 640 return (make_int (minibuf_prompt_width));
639 } 641 }
640 #endif /* 0 */ 642 #endif /* 0 */
641 643