Mercurial > emacs
view update-subdirs @ 30362:fc017b1b2a7d
(foreach_window): Instead of a fake variable argument
list, take one USER_DATA argument.
(foreach_window_1): Likewise, and call callback functions with two
args, the window and USER_DATA.
(struct check_window_data): New struct.
(check_window_containing): Use it.
(window_from_coordinates): Set up a struct check_window_data for
foreach_window.
(add_window_to_list, freeze_window_start): Change parameters
according to new calling convention.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 21 Jul 2000 14:34:08 +0000 |
parents | 3ede6c50d7f5 |
children | f440b9766968 |
line wrap: on
line source
#!/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 | CVS | Old | . | .. | =* | *~ | *.orig | *.rej) ;; *) if [ -d $file ]; then subdirs="\"$file\" $subdirs" fi ;; esac done if [ "x$subdirs" = x ]; then rm -f subdirs.el else 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 fi