summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2000-05-25 16:45:32 +0000
committerKen Raeburn <raeburn@raeburn.org>2000-05-25 16:45:32 +0000
commit7a18af49dc3e225afc4248d3374ff760f0bf39f3 (patch)
tree2434a92c583eeeb2325c9f2eebaa470c48e2dbe6 /src/emacs.c
parent50d7ce09c6e12027b598b468558a9f0b7b3da8d3 (diff)
downloademacs-7a18af49dc3e225afc4248d3374ff760f0bf39f3.tar.gz
* emacs.c (main): Initialize keyboard syms before initializing
window code, so face names are available.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 835cb5a79e0..ecc935e3c75 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -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 ();