head	1.1;
branch	1.1.1;
access;
symbols
	EMACS_21_3:1.1.1.4
	EMACS_21_2:1.1.1.3
	EMACS_21_1:1.1.1.3
	EMACS_21_0_106:1.1.1.3
	EMACS_21_0_105:1.1.1.3
	EMACS_21_0_103:1.1.1.3
	EMACS_20_7:1.1.1.2
	EMACS_20_6:1.1.1.2
	EMACS_20_5:1.1.1.2
	EMACS_20_4:1.1.1.2
	EMACS_20_3:1.1.1.2
	EMACS_20_2:1.1.1.2
	EMACS_20_1:1.1.1.2
	EMACS_19_34:1.1.1.1
	EMACS_19_33:1.1.1.1
	EMACS_19_32:1.1.1.1
	EMACS_19_31:1.1.1.1
	EMACS_19_30:1.1.1.1
	EMACS_19_29:1.1.1.1
	FSF_DIST:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2004.11.05.09.10.00;	author Ben Wing;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2004.11.05.09.10.00;	author Ben Wing;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2004.11.05.09.42.47;	author Ben Wing;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2004.11.05.10.29.45;	author Ben Wing;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2004.11.05.11.14.51;	author Ben Wing;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#!/bin/sh
# Write into $1/subdirs.el a list of subdirs of directory $1.
cd $1
for file in *; do
    case $file in
	*.elc | *.el | term | RCS | . | .. | =* | *~ | *.orig | *.rej)
	  ;;	
	*)
	    if [ -d $file ]; then
	      subdirs="\"$file\" $subdirs"
	    fi
	  ;;
    esac
done

echo ";; In load-path, after this directory should come
;; certain of its subdirectories.  Here we specify them." > subdirs.el

echo "(normal-top-level-add-to-load-path '($subdirs))" >> subdirs.el
@


1.1.1.1
log
@import emacs-19.29
@
text
@@


1.1.1.2
log
@import emacs-20.1
@
text
@d6 1
a6 1
	*.elc | *.el | term | RCS | Old | . | .. | =* | *~ | *.orig | *.rej)
d16 1
a16 4
if [ "x$subdirs" = x ]; then
  rm -f subdirs.el
else
  echo ";; In load-path, after this directory should come
d19 1
a19 2
  echo "(normal-top-level-add-to-load-path '($subdirs))" >> subdirs.el
fi
@


1.1.1.3
log
@import emacs-21.0.103
@
text
@a2 20

# Copyright (C) 1994, 1995, 1997, 1999, 2001 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
# GNU Emacs is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Emacs; see the file COPYING.  If not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

d6 1
a6 1
	*.elc | *.el | term | RCS | CVS | Old | . | .. | =* | *~ | *.orig | *.rej)
@


1.1.1.4
log
@import emacs-21.3
@
text
@d27 1
a27 1
	  ;;
a38 3

  echo ";; -*- no-byte-compile: t -*-" > subdirs.el

d40 1
a40 1
;; certain of its subdirectories.  Here we specify them." >> subdirs.el
@


