diff options
| author | Richard M. Stallman | 1994-10-13 08:39:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-10-13 08:39:25 +0000 |
| commit | 0a4df5393f9f88fa26877bd5ad6992a1d4d52f1f (patch) | |
| tree | 2a07c6d607704a303f56f5db254ae0a422bcd8fc | |
| parent | d184839e4ee431c1c9a9074abad77dd49f7dbeb0 (diff) | |
| download | emacs-0a4df5393f9f88fa26877bd5ad6992a1d4d52f1f.tar.gz emacs-0a4df5393f9f88fa26877bd5ad6992a1d4d52f1f.zip | |
(Evaluating top-level): Don't load loadup.el again.
| -rw-r--r-- | lisp/loadup.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index a1252eca989..0170e0f7cce 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -235,8 +235,11 @@ | |||
| 235 | ;; this file must be loaded each time Emacs is run. | 235 | ;; this file must be loaded each time Emacs is run. |
| 236 | ;; So run the startup code now. | 236 | ;; So run the startup code now. |
| 237 | 237 | ||
| 238 | (or (or (equal (nth 3 command-line-args) "dump") | 238 | (or (equal (nth 3 command-line-args) "dump") |
| 239 | (equal (nth 4 command-line-args) "dump")) | 239 | (equal (nth 4 command-line-args) "dump") |
| 240 | (eval top-level)) | 240 | (progn |
| 241 | ;; Avoid loading loadup.el a second time! | ||
| 242 | (setq command-line-args (cdr (cdr command-line-args))) | ||
| 243 | (eval top-level))) | ||
| 241 | 244 | ||
| 242 | ;;; loadup.el ends here | 245 | ;;; loadup.el ends here |