diff options
| author | Roland McGrath | 1992-08-31 23:22:15 +0000 |
|---|---|---|
| committer | Roland McGrath | 1992-08-31 23:22:15 +0000 |
| commit | 450a90e2ea55a592346ed0a10d2e5a5e2597d920 (patch) | |
| tree | 518a22d2420739dd7aff899331bbf11d6b41bb8e | |
| parent | 6ec3899e1629c6f954d12fc7773ddd5a8f1a76be (diff) | |
| download | emacs-450a90e2ea55a592346ed0a10d2e5a5e2597d920.tar.gz emacs-450a90e2ea55a592346ed0a10d2e5a5e2597d920.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/loadup.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index 7710e47582f..f9959966861 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -116,12 +116,14 @@ | |||
| 116 | (setq name (concat (downcase (substring name 0 (match-beginning 0))) | 116 | (setq name (concat (downcase (substring name 0 (match-beginning 0))) |
| 117 | "-" | 117 | "-" |
| 118 | (substring name (match-end 0))))) | 118 | (substring name (match-end 0))))) |
| 119 | (delete-file (concat (expand-file-name "../etc/DOC-") name)) | 119 | (setq name (concat (expand-file-name "../etc/DOC-") name)) |
| 120 | (if (file-exists-p name) | ||
| 121 | (delete-file name)) | ||
| 120 | (copy-file (expand-file-name "../etc/DOC") | 122 | (copy-file (expand-file-name "../etc/DOC") |
| 121 | (concat (expand-file-name "../etc/DOC-") name) | 123 | name |
| 122 | t) | 124 | t) |
| 123 | (Snarf-documentation (concat "DOC-" name))) | 125 | (Snarf-documentation (file-name-nondirectory name))) |
| 124 | (Snarf-documentation "DOC")) | 126 | (Snarf-documentation "DOC")) |
| 125 | (message "Finding pointers to doc strings...done") | 127 | (message "Finding pointers to doc strings...done") |
| 126 | 128 | ||
| 127 | ;Note: You can cause additional libraries to be preloaded | 129 | ;Note: You can cause additional libraries to be preloaded |