summaryrefslogtreecommitdiff
path: root/lisp/loadup.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-08 09:45:40 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-08 09:45:40 +0000
commit9cefa7b560221a9aac22f90e6ea933b1d812d293 (patch)
treeb3a9803cbd2918f5538d6cd4de7efc299598b6d4 /lisp/loadup.el
parent15841e11dea6d60f5b108cf370ec061aad69d20a (diff)
downloademacs-9cefa7b560221a9aac22f90e6ea933b1d812d293.tar.gz
Load version.el before site-load.el.
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r--lisp/loadup.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 52472eb2770..c895e370fc3 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -111,6 +111,9 @@
(garbage-collect)
(load "vc-hooks")
+;; We specify .el in case someone compiled version.el by mistake.
+(load "version.el")
+
;If you want additional libraries to be preloaded and their
;doc strings kept in the DOC file rather than in core,
;you may load them with a "site-load.el" file.
@@ -120,8 +123,6 @@
(if (load "site-load" t)
(garbage-collect))
-(load "version.el") ;Don't get confused if someone compiled version.el by mistake.
-
;; Determine which last version number to use
;; based on the executables that now exist.
(if (and (fboundp 'dump-emacs) (not (eq system-type 'ms-dos)))