Mercurial > emacs
annotate update-subdirs @ 36183:d3f65290e6b2
Clean up comment-dwim vs indent-for-comment, etc.
Move comment-padding to the Options for Comments node.
Give details of hideshow commands.
Many cleanups for etags.
Rewrite Imenu node.
Put ff-find-related-file into Other C Commands node.
Clean up fortran comment ruler info.
Fortran Misc node deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 19 Feb 2001 03:45:02 +0000 |
parents | 3ede6c50d7f5 |
children | f440b9766968 |
rev | line source |
---|---|
25856 | 1 #!/bin/sh |
2 # Write into $1/subdirs.el a list of subdirs of directory $1. | |
3 cd $1 | |
4 for file in *; do | |
5 case $file in | |
25931
3ede6c50d7f5
also ignore CVS subdirs.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25856
diff
changeset
|
6 *.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej) |
25856 | 7 ;; |
8 *) | |
9 if [ -d $file ]; then | |
10 subdirs="\"$file\" $subdirs" | |
11 fi | |
12 ;; | |
13 esac | |
14 done | |
15 | |
16 if [ "x$subdirs" = x ]; then | |
17 rm -f subdirs.el | |
18 else | |
19 echo ";; In load-path, after this directory should come | |
20 ;; certain of its subdirectories. Here we specify them." > subdirs.el | |
21 | |
22 echo "(normal-top-level-add-to-load-path '($subdirs))" >> subdirs.el | |
23 fi |