aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-16 06:17:57 +0000
committerRichard M. Stallman1994-10-16 06:17:57 +0000
commitb0b1ed3b65d8d32dceb8fbb0d7ad008a86b1c13a (patch)
tree9b8bb906e23332f50f07de29bf5a8827f07b5fb4
parentc8bdaa8c5592bd92f3913d8dd7ce735464c376d3 (diff)
downloademacs-b0b1ed3b65d8d32dceb8fbb0d7ad008a86b1c13a.tar.gz
emacs-b0b1ed3b65d8d32dceb8fbb0d7ad008a86b1c13a.zip
Delete code to write subdirs.el.
-rw-r--r--lisp/loadup.el20
1 files changed, 0 insertions, 20 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 0170e0f7cce..7b8f8922059 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -32,26 +32,6 @@
32;;; 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.
33(buffer-disable-undo "*scratch*") 33(buffer-disable-undo "*scratch*")
34 34
35;; Write a file subdirs.el into the Lisp directory
36;; containing the names of the subdirs of that directory
37;; which we should check for Lisp files.
38(message "Writing subdirs.el...")
39(let ((files (directory-files "../lisp/" nil nil t))
40 new)
41 (while files
42 (if (and (null (member (car files) '("." ".." "term" "RCS")))
43 (null (string-match "\\.elc?$" (car files)))
44 (file-directory-p (expand-file-name (car files) "../lisp/")))
45 (setq new (cons (car files) new)))
46 (setq files (cdr files)))
47 (insert ";; In load-path, after this directory should come\n")
48 (insert ";; certain of its subdirectories. Here we specify them.\n")
49 (prin1 (list 'normal-top-level-add-to-load-path
50 (list 'quote new)) (current-buffer))
51 (write-region (point-min) (point-max)
52 (expand-file-name "subdirs.el" "../lisp/"))
53 (erase-buffer))
54
55(load "subr") 35(load "subr")
56(garbage-collect) 36(garbage-collect)
57(load "byte-run") 37(load "byte-run")