]> code.delx.au - gnu-emacs/commitdiff
* emacs.c (main): Initialize keyboard syms before initializing
authorKen Raeburn <raeburn@raeburn.org>
Thu, 25 May 2000 16:45:32 +0000 (16:45 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 25 May 2000 16:45:32 +0000 (16:45 +0000)
window code, so face names are available.

src/ChangeLog
src/emacs.c

index 555c2ca749e510641d13a985010f494facea0be6..efe9a1752d0eeeb6181325396ab2b163859188dc 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-25  Ken Raeburn  <raeburn@gnu.org>
+
+       * emacs.c (main): Initialize keyboard syms before initializing
+       window code, so face names are available.
+
 2000-05-25  Stefan Monnier  <monnier@cs.yale.edu>
 
        * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case
index 835cb5a79e0a022eec188fd80987d22f0bbba092..ecc935e3c75fc3e51c5782fa0eb1672f7a7155b0 100644 (file)
@@ -1100,6 +1100,11 @@ main (argc, argv, envp)
         faces, and the face implementation uses some symbols as
         face names.  */
       syms_of_xfaces ();
+      /* Call syms_of_keyboard before init_window_once because
+        keyboard sets up symbols that include some face names that
+        the X support will want to use.  This can happen when
+        CANNOT_DUMP is defined.  */
+      syms_of_keyboard ();
 
       init_window_once ();     /* Init the window system */
       init_fileio_once ();     /* Must precede any path manipulation.  */
@@ -1331,7 +1336,6 @@ main (argc, argv, envp)
 #endif /* CLASH_DETECTION */
       syms_of_indent ();
       syms_of_insdel ();
-      syms_of_keyboard ();
       syms_of_keymap ();
       syms_of_macros ();
       syms_of_marker ();