24 |
for file in *; do |
for file in *; do |
25 |
case $file in |
case $file in |
26 |
*.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej) |
*.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej) |
27 |
;; |
;; |
28 |
*) |
*) |
29 |
if [ -d $file ]; then |
if [ -d $file ]; then |
30 |
subdirs="\"$file\" $subdirs" |
subdirs="\"$file\" $subdirs" |
36 |
if [ "x$subdirs" = x ]; then |
if [ "x$subdirs" = x ]; then |
37 |
rm -f subdirs.el |
rm -f subdirs.el |
38 |
else |
else |
39 |
|
|
40 |
|
echo ";; -*- no-byte-compile: t -*-" > subdirs.el |
41 |
|
|
42 |
echo ";; In load-path, after this directory should come |
echo ";; In load-path, after this directory should come |
43 |
;; certain of its subdirectories. Here we specify them." > subdirs.el |
;; certain of its subdirectories. Here we specify them." >> subdirs.el |
44 |
|
|
45 |
echo "(normal-top-level-add-to-load-path '($subdirs))" >> subdirs.el |
echo "(normal-top-level-add-to-load-path '($subdirs))" >> subdirs.el |
46 |
fi |
fi |