1 (setq preloaded-file-list
3 "backquote" ; needed for defsubst etc.
4 "bytecomp-runtime" ; define defsubst
7 "packages" ; Bootstrap run-time lisp environment
10 "subr" ; load the most basic Lisp functions
11 "replace" ; match-string used in version.el.
12 ; Ignore compiled-by-mistake version.elc
18 "custom" ; Before the world so everything can be
20 "cus-start" ; for customization of builtin variables
28 "faces" ; must be loaded before any make-face call
29 ;;(pureload "facemenu") #### not yet ported
35 "process" ;; This is bad. network-streams may not be defined.
36 (when-feature multicast "multicast") ; #+network-streams implicitely true
37 "frame" ; move up here cause some stuff needs it here
40 "keydefs" ; Before loaddefs so that keymap vars exist.
45 "modeline" ; needs simple.el to be loaded first
46 ;; If SparcWorks support is included some additional packages are
47 ;; dumped which would normally have autoloads. To avoid
48 ;; duplicate doc string warnings, SparcWorks uses a separate
49 ;; autoloads file with the dumped packages removed.
50 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!!
51 ;; So just make loaddefs-eos go away...
52 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs"))
53 "startup" ; For initialization of
54 ; `emacs-user-extension-dir'
56 ;; (pureload "profile")
57 (unless-feature mule "help-nomule")
59 ;; (pureload "hyper-apropos") Soon...
60 (unless-feature file-coding "files-nomule")
71 "paths.el" ; don't get confused if paths compiled.
75 "iso8859-1" ; This must be before any modes
76 ; (sets standard syntax table.)
78 "easymenu" ; Added for 20.3.
82 "auto-save" ; Added for 20.4
84 (when-feature windows-nt "winnt")
85 (when-feature lisp-float-type "float-sup")
86 "itimer" ; for vars auto-save-timeout and
89 (when-feature toolbar "toolbar")
90 (when-feature scrollbar "scrollbar")
91 (when-feature menubar "menubar")
92 (when-feature dialog "dialog")
93 (when-feature mule "mule-charset")
94 (when-feature file-coding "coding")
95 (when-feature mule "mule-coding")
96 ;; Handle I/O of files with extended characters.
97 (when-feature file-coding "code-files")
98 (when-feature mule "mule-files")
99 ;; Handle process with encoding/decoding non-ascii coding-system.
100 (when-feature file-coding "code-process")
101 (when-feature mule "mule-help")
102 ;; Load the remaining basic files.
103 (when-feature mule "mule-category")
104 (when-feature mule "mule-ccl")
105 (when-feature mule "mule-misc")
106 (when-feature mule "kinsoku")
107 (when-feature (and mule x) "mule-x-init")
108 (when-feature (and mule tty) "mule-tty-init")
109 (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
111 ;; after this goes the specific lisp routines for a particular input system
112 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
113 ;; or user switching of input systems???
117 ; (pureload "egg-wnn")
118 ; (setq egg-default-startup-file "eggrc-wnn")))
120 ;; (if (and (boundp 'CANNA) CANNA)
121 ;; (pureload "canna")
124 ;; Now load files to set up all the different languages/environments
125 ;; that Mule knows about.
127 (when-feature mule "arabic")
128 (when-feature mule "chinese")
129 (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
130 (when-feature mule "english")
131 ;; (when-feature mule "ethiopic")
132 (when-feature mule "european")
133 (when-feature mule "mule/greek") ; overloaded in leim/quail
134 (when-feature mule "hebrew")
135 (when-feature mule "japanese")
136 (when-feature mule "korean")
137 (when-feature mule "misc-lang")
138 ;; (when-feature mule "thai")
139 (when-feature mule "viet-chars")
140 ;; (when-feature mule "vietnamese")
142 ;; Specialized language support
143 (when-feature (and mule CANNA) "canna-leim")
144 ;; Egg/Its is now a package
145 ; (when-feature (and mule wnn) "egg-leim")
146 ; (when-feature (and mule wnn) "egg-kwnn-leim")
147 ; (when-feature (and mule wnn) "egg-cwnn-leim")
148 ; (when-feature mule "egg-sj3-leim")
149 ;; SKK is now a package
150 ; (when-feature mule "skk-leim")
152 ;; Set up the XEmacs environment for Mule.
153 ;; Assumes the existence of various stuff above.
154 (when-feature mule "mule-init")
156 ;; Enable Mule capability for Gnus, mail, etc...
157 ;; Moved to sunpro-load.el - the default only for Sun.
158 ;;(pureload "mime-setup")
159 ;;; mule-load.el ends here
160 (when-feature window-system "gui")
161 (when-feature window-system "mode-motion")
162 (when-feature window-system "mouse")
163 (when-feature window-system "select")
164 (when-feature dragdrop-api "dragdrop")
165 ;; preload the X code, for faster startup.
166 (when-feature (and (not infodock)
167 (or x mswindows) menubar) "menubar-items")
168 (when-feature (and infodock (or x mswindows) menubar) "id-menus")
169 (when-feature x "x-faces")
170 (when-feature x "x-iso8859-1")
171 (when-feature x "x-mouse")
172 (when-feature x "x-select")
173 (when-feature (and x scrollbar) "x-scrollbar")
174 (when-feature x "x-misc")
175 (when-feature x "x-init")
176 (when-feature (and (not infodock)
177 window-system toolbar) "toolbar-items")
178 (when-feature x "x-win-xfree86")
179 (when-feature x "x-win-sun")
180 ;; preload the mswindows code.
181 (when-feature mswindows "msw-glyphs")
182 (when-feature mswindows "msw-faces")
183 (when-feature mswindows "msw-mouse")
184 (when-feature mswindows "msw-init")
185 (when-feature mswindows "msw-select")
186 ;; preload the TTY init code.
187 (when-feature tty "tty-init")
188 ;;; Formerly in tooltalk/tooltalk-load.el
189 ;; Moved to tooltalk package
190 ;; (when-feature tooltalk "tooltalk-macros")
191 ;; (when-feature tooltalk "tooltalk-util")
192 ;; (when-feature tooltalk "tooltalk-init")
193 ;; "vc-hooks" ; Packaged. Available in two versions.
194 ;; "ediff-hook" ; Packaged.
197 (when-feature ldap "ldap")
199 ;; (when-feature energize "energize/energize-load.el")
200 ;;; formerly in sunpro/sunpro-load.el
201 ;; (when-feature (and mule sparcworks) "mime-setup")
203 ;; Moved to Sun package
204 ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
205 ;; (when-feature sparcworks "sunpro-init")
206 ;; (when-feature sparcworks "ring")
207 ;; (when-feature sparcworks "comint") ; Requires comint package
208 ;; (when-feature sparcworks "annotations")
210 ;;; formerly in eos/sun-eos-load.el
211 ;; (when-feature sparcworks "sun-eos-init")
212 ;; (when-feature sparcworks "sun-eos-common")
213 ;; (when-feature sparcworks "sun-eos-editor")
214 ;; (when-feature sparcworks "sun-eos-browser")
215 ;; (when-feature sparcworks "sun-eos-debugger")
216 ;; (when-feature sparcworks "sun-eos-debugger-extra")
217 ;; (when-feature sparcworks "sun-eos-menubar")
218 "loadhist" ; Must be dumped before loaddefs is loaded
219 "loaddefs" ; <=== autoloads get loaded here