comparison src/emacs.c @ 5128:7be849cb8828 ben-lisp-object

merge
author Ben Wing <ben@xemacs.org>
date Sun, 07 Mar 2010 02:09:59 -0600
parents a9c41067dd88 33bc58a32dc2
children 1fae11d56ad2
comparison
equal deleted inserted replaced
5127:a9c41067dd88 5128:7be849cb8828
1536 syms_of_font_lock (); 1536 syms_of_font_lock ();
1537 #endif /* USE_C_FONT_LOCK */ 1537 #endif /* USE_C_FONT_LOCK */
1538 syms_of_frame (); 1538 syms_of_frame ();
1539 syms_of_general (); 1539 syms_of_general ();
1540 syms_of_glyphs (); 1540 syms_of_glyphs ();
1541 #ifdef HAVE_WINDOW_SYSTEM
1541 syms_of_glyphs_eimage (); 1542 syms_of_glyphs_eimage ();
1542 syms_of_glyphs_shared (); 1543 syms_of_glyphs_shared ();
1544 #endif
1543 syms_of_glyphs_widget (); 1545 syms_of_glyphs_widget ();
1544 syms_of_gui (); 1546 syms_of_gui ();
1545 syms_of_gutter (); 1547 syms_of_gutter ();
1546 syms_of_indent (); 1548 syms_of_indent ();
1547 syms_of_intl (); 1549 syms_of_intl ();
1871 1873
1872 For any given image instantiator format, the first macro must be 1874 For any given image instantiator format, the first macro must be
1873 called before the any calls to the other macros. */ 1875 called before the any calls to the other macros. */
1874 1876
1875 image_instantiator_format_create (); 1877 image_instantiator_format_create ();
1878 #ifdef HAVE_WINDOW_SYSTEM
1876 image_instantiator_format_create_glyphs_eimage (); 1879 image_instantiator_format_create_glyphs_eimage ();
1880 #endif
1877 image_instantiator_format_create_glyphs_widget (); 1881 image_instantiator_format_create_glyphs_widget ();
1878 #ifdef HAVE_TTY 1882 #ifdef HAVE_TTY
1879 image_instantiator_format_create_glyphs_tty (); 1883 image_instantiator_format_create_glyphs_tty ();
1880 #endif 1884 #endif
1881 #ifdef HAVE_X_WINDOWS 1885 #ifdef HAVE_X_WINDOWS
2102 vars_of_font_lock (); 2106 vars_of_font_lock ();
2103 #endif /* USE_C_FONT_LOCK */ 2107 #endif /* USE_C_FONT_LOCK */
2104 vars_of_frame (); 2108 vars_of_frame ();
2105 vars_of_gc (); 2109 vars_of_gc ();
2106 vars_of_glyphs (); 2110 vars_of_glyphs ();
2111 #ifdef HAVE_WINDOW_SYSTEM
2107 vars_of_glyphs_eimage (); 2112 vars_of_glyphs_eimage ();
2113 #endif
2108 vars_of_glyphs_widget (); 2114 vars_of_glyphs_widget ();
2109 vars_of_gui (); 2115 vars_of_gui ();
2110 vars_of_gutter (); 2116 vars_of_gutter ();
2111 vars_of_indent (); 2117 vars_of_indent ();
2112 vars_of_insdel (); 2118 vars_of_insdel ();
4053 #endif /* !defined (ASSERTIONS_DONT_ABORT) */ 4059 #endif /* !defined (ASSERTIONS_DONT_ABORT) */
4054 inhibit_non_essential_conversion_operations--; 4060 inhibit_non_essential_conversion_operations--;
4055 in_assert_failed--; 4061 in_assert_failed--;
4056 } 4062 }
4057 4063
4064 /* This is called when an assert() fails or when ABORT() is called -- both
4065 of those are defined in the preprocessor to an expansion involving
4066 assert_failed(). */
4067 void
4068 assert_equal_failed (const Ascbyte *file, int line, EMACS_INT x, EMACS_INT y,
4069 const Ascbyte *exprx, const Ascbyte *expry)
4070 {
4071 Ascbyte bigstr[1000]; /* #### Could overflow, but avoids any need to do any
4072 allocation, even alloca(), hence safer */
4073 sprintf (bigstr, "%s (%ld) should == %s (%ld) but doesn't",
4074 exprx, x, expry, y);
4075 assert_failed (file, line, bigstr);
4076 }
4077
4058 /* -------------------------------------- */ 4078 /* -------------------------------------- */
4059 /* low-memory notification */ 4079 /* low-memory notification */
4060 /* -------------------------------------- */ 4080 /* -------------------------------------- */
4061 4081
4062 #ifdef SIGDANGER 4082 #ifdef SIGDANGER