1 (setq preloaded-file-list
3 "backquote" ; needed for defsubst etc.
4 "bytecomp-runtime" ; define defsubst
6 "packages" ; Bootstrap run-time lisp environment
9 "subr" ; load the most basic Lisp functions
10 "replace" ; match-string used in version.el.
11 ; Ignore compiled-by-mistake version.elc
17 "custom" ; Before the world so everything can be
19 "cus-start" ; for customization of builtin variables
27 "faces" ; must be loaded before any make-face call
28 ;;(pureload "facemenu") #### not yet ported
34 "process" ;; This is bad. network-streams may not be defined.
35 (when-feature multicast "multicast") ; #+network-streams implicitely true
36 "frame" ; move up here cause some stuff needs it here
39 "keydefs" ; Before loaddefs so that keymap vars exist.
44 "modeline" ; needs simple.el to be loaded first
45 ;; If SparcWorks support is included some additional packages are
46 ;; dumped which would normally have autoloads. To avoid
47 ;; duplicate doc string warnings, SparcWorks uses a separate
48 ;; autoloads file with the dumped packages removed.
49 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!!
50 ;; So just make loaddefs-eos go away...
51 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs"))
52 "startup" ; For initialization of
53 ; `emacs-user-extension-dir'
55 ;; (pureload "profile")
56 (unless-feature mule "help-nomule")
58 ;; (pureload "hyper-apropos") Soon...
59 (unless-feature file-coding "files-nomule")
70 "paths.el" ; don't get confused if paths compiled.
74 "iso8859-1" ; This must be before any modes
75 ; (sets standard syntax table.)
77 "easymenu" ; Added for 20.3.
81 "auto-save" ; Added for 20.4
83 (when-feature windows-nt "winnt")
84 (when-feature lisp-float-type "float-sup")
85 "itimer" ; for vars auto-save-timeout and
88 (when-feature toolbar "toolbar")
89 (when-feature scrollbar "scrollbar")
90 (when-feature menubar "menubar")
91 (when-feature dialog "dialog")
92 (when-feature mule "mule-charset")
93 (when-feature file-coding "coding")
94 (when-feature mule "mule-coding")
95 ;; Handle I/O of files with extended characters.
96 (when-feature file-coding "code-files")
97 ;; Handle process with encoding/decoding non-ascii coding-system.
98 (when-feature file-coding "code-process")
99 (when-feature mule "mule-help")
100 ;; Load the remaining basic files.
101 (when-feature mule "mule-category")
102 (when-feature mule "mule-ccl")
103 (when-feature mule "mule-misc")
104 (when-feature mule "kinsoku")
105 (when-feature (and mule x) "mule-x-init")
106 (when-feature (and mule tty) "mule-tty-init")
107 (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
109 ;; after this goes the specific lisp routines for a particular input system
110 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
111 ;; or user switching of input systems???
115 ; (pureload "egg-wnn")
116 ; (setq egg-default-startup-file "eggrc-wnn")))
118 ;; (if (and (boundp 'CANNA) CANNA)
119 ;; (pureload "canna")
122 ;; Now load files to set up all the different languages/environments
123 ;; that Mule knows about.
125 (when-feature mule "arabic")
126 (when-feature mule "chinese")
127 (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
128 (when-feature mule "english")
129 (when-feature mule "ethiopic")
130 (when-feature mule "european")
131 (when-feature mule "mule/greek") ; overloaded in leim/quail
132 (when-feature mule "hebrew")
133 (when-feature mule "japanese")
134 (when-feature mule "korean")
135 (when-feature mule "misc-lang")
136 (when-feature mule "thai-xtis-chars")
137 (when-feature mule "mule/thai-xtis") ; overloaded in leim/quail
138 (when-feature mule "viet-chars")
139 (when-feature (and mule (not utf-2000)) "vietnamese")
141 ;; Specialized language support
142 (when-feature (and mule CANNA) "canna-leim")
143 ;; Egg/Its is now a package
144 ; (when-feature (and mule wnn) "egg-leim")
145 ; (when-feature (and mule wnn) "egg-kwnn-leim")
146 ; (when-feature (and mule wnn) "egg-cwnn-leim")
147 ; (when-feature mule "egg-sj3-leim")
148 ;; SKK is now a package
149 ; (when-feature mule "skk-leim")
151 ;; Set up the XEmacs environment for Mule.
152 ;; Assumes the existence of various stuff above.
153 (when-feature mule "mule-init")
155 ;; Enable Mule capability for Gnus, mail, etc...
156 ;; Moved to sunpro-load.el - the default only for Sun.
157 ;;(pureload "mime-setup")
158 ;;; mule-load.el ends here
159 (when-feature window-system "gui")
160 (when-feature window-system "mode-motion")
161 (when-feature window-system "mouse")
162 (when-feature window-system "select")
163 (when-feature dragdrop-api "dragdrop")
164 ;; preload the X code, for faster startup.
165 (when-feature (and (not infodock)
166 (or x mswindows) menubar) "menubar-items")
167 (when-feature (and infodock (or x mswindows) menubar) "id-menus")
168 (when-feature (and gutter menubar window-system) "gutter-items")
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