aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-26 20:57:49 +0000
committerRichard M. Stallman1994-03-26 20:57:49 +0000
commit24cffc681071efcbfedc7297a036c9f69e5d8167 (patch)
tree1830deb46cfbbf1a301603eef3f6b2bca08b4b6f
parente9f1d66d7c3229ae443a8cd742ba1adf1f63716e (diff)
downloademacs-24cffc681071efcbfedc7297a036c9f69e5d8167.tar.gz
emacs-24cffc681071efcbfedc7297a036c9f69e5d8167.zip
Don't test for presence of dump-emacs.
Use `dump' argument as criterion for copying DOC, for running top-level, and for extending the version number. Delete the sleep-for.
-rw-r--r--lisp/loadup.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 1f5063e0480..b7e0368b1ac 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -28,7 +28,6 @@
28;;; Code: 28;;; Code:
29 29
30(message "Using load-path %s" load-path) 30(message "Using load-path %s" load-path)
31(sleep-for 1)
32 31
33;;; We don't want to have any undo records in the dumped Emacs. 32;;; We don't want to have any undo records in the dumped Emacs.
34(buffer-disable-undo "*scratch*") 33(buffer-disable-undo "*scratch*")
@@ -137,7 +136,9 @@
137 136
138;; Determine which last version number to use 137;; Determine which last version number to use
139;; based on the executables that now exist. 138;; based on the executables that now exist.
140(if (and (fboundp 'dump-emacs) (not (eq system-type 'ms-dos))) 139(if (and (or (equal (nth 3 command-line-args) "dump")
140 (equal (nth 4 command-line-args) "dump"))
141 (not (eq system-type 'ms-dos)))
141 (let* ((base (concat "emacs-" emacs-version)) 142 (let* ((base (concat "emacs-" emacs-version))
142 (files (file-name-all-completions base default-directory)) 143 (files (file-name-all-completions base default-directory))
143 (versions (mapcar (function (lambda (name) 144 (versions (mapcar (function (lambda (name)
@@ -155,7 +156,8 @@
155;; for DOC will not have doc strings in the dumped Emacs. 156;; for DOC will not have doc strings in the dumped Emacs.
156 157
157(message "Finding pointers to doc strings...") 158(message "Finding pointers to doc strings...")
158(if (fboundp 'dump-emacs) 159(if (or (equal (nth 3 command-line-args) "dump")
160 (equal (nth 4 command-line-args) "dump"))
159 (let ((name emacs-version)) 161 (let ((name emacs-version))
160 (while (string-match "[^-+_.a-zA-Z0-9]+" name) 162 (while (string-match "[^-+_.a-zA-Z0-9]+" name)
161 (setq name (concat (downcase (substring name 0 (match-beginning 0))) 163 (setq name (concat (downcase (substring name 0 (match-beginning 0)))
@@ -220,7 +222,8 @@
220;; this file must be loaded each time Emacs is run. 222;; this file must be loaded each time Emacs is run.
221;; So run the startup code now. 223;; So run the startup code now.
222 224
223(or (fboundp 'dump-emacs) 225(or (or (equal (nth 3 command-line-args) "dump")
226 (equal (nth 4 command-line-args) "dump"))
224 (eval top-level)) 227 (eval top-level))
225 228
226;;; loadup.el ends here 229;;; loadup.el ends here