diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-11 13:27:14 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-04-11 13:27:14 +0000 |
commit | 23c2e0e4abdaa4c46f4feb21e0d69f28151730f0 (patch) | |
tree | dd95c4e1eb71928fe774eab512e467c38fcf22aa /lisp/loadup.el | |
parent | e94a977386fe58eda8f0561be3c27ae646e3f58d (diff) | |
download | emacs-23c2e0e4abdaa4c46f4feb21e0d69f28151730f0.tar.gz |
* Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
* loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r-- | lisp/loadup.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index b3deea67fbe..8581f05fedb 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -81,7 +81,13 @@ (message "Lists of integers (garbage collection statistics) are normal output") (message "while building Emacs; they do not indicate a problem.") (message "%s" (garbage-collect)) -(load "loaddefs.el") ;Don't get confused if someone compiled this by mistake. + +(condition-case nil + ;; Don't get confused if someone compiled this by mistake. + (load "loaddefs.el") + ;; In case loaddefs hasn't been generated yet. + (file-error (load "ldefs-boot.el"))) + (message "%s" (garbage-collect)) (load "simple") |