summaryrefslogtreecommitdiff
path: root/lisp/loadup.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r--lisp/loadup.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 0d145486cdd..e1d5e56e2a2 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -69,6 +69,8 @@
(setq load-source-file-function 'load-with-code-conversion)
(load "files")
+(load "startup")
+
(load "cus-face")
(load "faces") ; after here, `defface' may be used.
@@ -148,7 +150,6 @@
(message "%s" (garbage-collect))
(load "menu-bar")
(load "paths.el") ;Don't get confused if someone compiled paths by mistake.
-(load "startup")
(load "emacs-lisp/lisp")
(load "textmodes/page")
(load "register")
@@ -164,6 +165,7 @@
(load "vmsproc")))
(load "abbrev")
(load "buff-menu")
+(load "server") ; server-getenv is used throughout the terminal initialization code
(if (eq system-type 'vax-vms)
(progn
(load "vms-patch")))
@@ -191,6 +193,16 @@
(load "emacs-lisp/float-sup")))
(message "%s" (garbage-collect))
+;; Load auxiliary settings for X displays if we support them.
+(when (fboundp 'x-create-frame)
+ (load "mouse")
+ (load "international/fontset")
+ (load "dnd")
+ (load "x-dnd")
+ (load "term/x-win"))
+
+(message "%s" (garbage-collect))
+
(load "vc-hooks")
(load "jka-cmpr-hook")
(load "ediff-hook")