diff options
| author | Andreas Schwab | 1998-10-30 09:54:37 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-10-30 09:54:37 +0000 |
| commit | b7b75652ce04e313006e3f2d63c4b4f5562b1226 (patch) | |
| tree | fa1a7812bd3c3eafb2352609d2a2a691b09234d5 | |
| parent | 5f15b2efede1c8cb0079ca3e265e185288d9a842 (diff) | |
| download | emacs-b7b75652ce04e313006e3f2d63c4b4f5562b1226.tar.gz emacs-b7b75652ce04e313006e3f2d63c4b4f5562b1226.zip | |
Write fns-*.el in current directory instead of
data-directory since no installation directory exists yet. Mark
buffer unmodified afterwards.
| -rw-r--r-- | lisp/loadup.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index 79b812c2ba3..262f4c1e92c 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -210,8 +210,8 @@ | |||
| 210 | (load "site-init" t) | 210 | (load "site-init" t) |
| 211 | (setq current-load-list nil) | 211 | (setq current-load-list nil) |
| 212 | 212 | ||
| 213 | ;; Write the value of load-history into etc/LOADHIST.el, | 213 | ;; Write the value of load-history into fns-VERSION.el, |
| 214 | ;; the clear out load-history. | 214 | ;; then clear out load-history. |
| 215 | (let ((buffer-undo-list t)) | 215 | (let ((buffer-undo-list t)) |
| 216 | (princ "(setq load-history\n" (current-buffer)) | 216 | (princ "(setq load-history\n" (current-buffer)) |
| 217 | (princ " (nconc load-history\n" (current-buffer)) | 217 | (princ " (nconc load-history\n" (current-buffer)) |
| @@ -223,12 +223,12 @@ | |||
| 223 | (if (cdr tem) | 223 | (if (cdr tem) |
| 224 | (princ " " (current-buffer))) | 224 | (princ " " (current-buffer))) |
| 225 | (setq tem (cdr tem)))) | 225 | (setq tem (cdr tem)))) |
| 226 | (princ ")))" (current-buffer)) | 226 | (princ ")))\n" (current-buffer)) |
| 227 | (write-region (point-min) (point-max) | 227 | (write-region (point-min) (point-max) |
| 228 | (expand-file-name (format "fns-%s.el" emacs-version) | 228 | (expand-file-name (format "fns-%s.el" emacs-version))) |
| 229 | data-directory)) | ||
| 230 | (erase-buffer)) | 229 | (erase-buffer)) |
| 231 | (setq load-history nil) | 230 | (setq load-history nil) |
| 231 | (set-buffer-modified-p nil) | ||
| 232 | 232 | ||
| 233 | (garbage-collect) | 233 | (garbage-collect) |
| 234 | 234 | ||