comparison src/minibuf.c @ 424:11054d720c21 r21-2-20

Import from CVS: tag r21-2-20
author cvs
date Mon, 13 Aug 2007 11:26:11 +0200
parents 697ef44129c6
children
comparison
equal deleted inserted replaced
423:28d9c139be4c 424:11054d720c21
934 defsymbol (&Qdisplay_message, "display-message"); 934 defsymbol (&Qdisplay_message, "display-message");
935 defsymbol (&Qcurrent_message_label, "current-message-label"); 935 defsymbol (&Qcurrent_message_label, "current-message-label");
936 } 936 }
937 937
938 void 938 void
939 reinit_vars_of_minibuf (void)
940 {
941 minibuf_level = 0;
942 }
943
944 void
939 vars_of_minibuf (void) 945 vars_of_minibuf (void)
940 { 946 {
941 minibuf_level = 0; 947 reinit_vars_of_minibuf ();
942 948
943 staticpro (&Vminibuf_prompt); 949 staticpro (&Vminibuf_prompt);
944 Vminibuf_prompt = Qnil; 950 Vminibuf_prompt = Qnil;
945 951
946 /* Added by Jareth Hein (jhod@po.iijnet.or.jp) for input system support */ 952 /* Added by Jareth Hein (jhod@po.iijnet.or.jp) for input system support */
963 */ ); 969 */ );
964 Vcompletion_regexp_list = Qnil; 970 Vcompletion_regexp_list = Qnil;
965 } 971 }
966 972
967 void 973 void
968 complex_vars_of_minibuf (void) 974 reinit_complex_vars_of_minibuf (void)
969 { 975 {
970 /* This function can GC */ 976 /* This function can GC */
971 #ifdef I18N3 977 #ifdef I18N3
972 /* #### This needs to be fixed up so that the gettext() gets called 978 /* #### This needs to be fixed up so that the gettext() gets called
973 at runtime instead of at load time. */ 979 at runtime instead of at load time. */
974 #endif 980 #endif
975 Vminibuffer_zero 981 Vminibuffer_zero
976 = Fget_buffer_create 982 = Fget_buffer_create
977 (Fpurecopy (build_string (DEFER_GETTEXT (" *Minibuf-0*")))); 983 (build_string (DEFER_GETTEXT (" *Minibuf-0*")));
978 Vecho_area_buffer 984 Vecho_area_buffer
979 = Fget_buffer_create 985 = Fget_buffer_create
980 (Fpurecopy (build_string (DEFER_GETTEXT (" *Echo Area*")))); 986 (build_string (DEFER_GETTEXT (" *Echo Area*")));
981 } 987 }
988
989 void
990 complex_vars_of_minibuf (void)
991 {
992 reinit_complex_vars_of_minibuf ();
993 }