;Load up standardly loaded Lisp files for Emacs. ;; This is loaded into a bare Emacs to make a dumpable one. ;; Copyright (C) 1985 Richard M. Stallman. ;; This file is part of GNU Emacs. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY. No author or distributor ;; accepts responsibility to anyone for the consequences of using it ;; or for whether it serves any particular purpose or works at all, ;; unless he says so in writing. Refer to the GNU Emacs General Public ;; License for full details. ;; Everyone is granted permission to copy, modify and redistribute ;; GNU Emacs, but only under the conditions described in the ;; GNU Emacs General Public License. A copy of this license is ;; supposed to have been given to you along with GNU Emacs so you ;; can know your rights and responsibilities. It should be in a ;; file named COPYING. Among other things, the copyright notice ;; and this notice must be preserved on all copies. (load "subr") (load "simple") (garbage-collect) (load "files") (garbage-collect) (load "indent") (load "window") (load "paths.el") ;Don't get confused if someone compiled paths by mistake. (garbage-collect) (load "loaddefs.el") ;Don't get confused if someone compiled loaddefs by mistake. (garbage-collect) (load "startup") (load "lisp") (garbage-collect) (load "page") (load "register") (garbage-collect) (load "paragraphs") (load "lisp_mode") (garbage-collect) (load "text_mode") (load "fill") (garbage-collect) (load "c_mode") (garbage-collect) (load "isearch") (garbage-collect) (load "replace") (garbage-collect) (load "abbrev") (garbage-collect) (load "vmsproc") (garbage-collect) (load "buff_menu") (load "version.el") ;Don't get confused if someone compiled version.el by mistake. (lisp-interaction-mode) (load "site_init" t) (garbage-collect) (if (or (equal (nth 3 command-line-args) "-d") (equal (nth 4 command-line-args) "-d")) (progn (message "Writing map file") (dump-emacs) (kill-emacs))) ;; Avoid error if user loads some more libraries now. (setq purify-flag nil) ;; For machines with CANNOT_DUMP defined in config.h, ;; this file must be loaded each time Emacs is run. ;; So run the startup code now. (or (fboundp 'dump-emacs) (eval top-level))