diff options
| author | Richard M. Stallman | 1994-01-08 09:45:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-08 09:45:40 +0000 |
| commit | 7d606649feeb8cec6cd1846e2c3124e6c2cd9a0e (patch) | |
| tree | 00f17308dd606b24f0208a3b8f1e0b27a8d49653 | |
| parent | aaf45c7bbdbcd5df2c6a419987bfe40ec9e65f84 (diff) | |
| download | emacs-7d606649feeb8cec6cd1846e2c3124e6c2cd9a0e.tar.gz emacs-7d606649feeb8cec6cd1846e2c3124e6c2cd9a0e.zip | |
Load version.el before site-load.el.
| -rw-r--r-- | lisp/loadup.el | 5 |
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 @@ | |||
| 111 | (garbage-collect) | 111 | (garbage-collect) |
| 112 | (load "vc-hooks") | 112 | (load "vc-hooks") |
| 113 | 113 | ||
| 114 | ;; We specify .el in case someone compiled version.el by mistake. | ||
| 115 | (load "version.el") | ||
| 116 | |||
| 114 | ;If you want additional libraries to be preloaded and their | 117 | ;If you want additional libraries to be preloaded and their |
| 115 | ;doc strings kept in the DOC file rather than in core, | 118 | ;doc strings kept in the DOC file rather than in core, |
| 116 | ;you may load them with a "site-load.el" file. | 119 | ;you may load them with a "site-load.el" file. |
| @@ -120,8 +123,6 @@ | |||
| 120 | (if (load "site-load" t) | 123 | (if (load "site-load" t) |
| 121 | (garbage-collect)) | 124 | (garbage-collect)) |
| 122 | 125 | ||
| 123 | (load "version.el") ;Don't get confused if someone compiled version.el by mistake. | ||
| 124 | |||
| 125 | ;; Determine which last version number to use | 126 | ;; Determine which last version number to use |
| 126 | ;; based on the executables that now exist. | 127 | ;; based on the executables that now exist. |
| 127 | (if (and (fboundp 'dump-emacs) (not (eq system-type 'ms-dos))) | 128 | (if (and (fboundp 'dump-emacs) (not (eq system-type 'ms-dos))) |