diff --git a/recompile-files.sh b/recompile-files.sh new file mode 100755 index 0000000..4c306de --- /dev/null +++ b/recompile-files.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +pwd=`pwd` + +for file in `find -iname '*.elc'` +do + cd `dirname "$file"` + + if test $file -ot ${file%c} + then + echo "Recompiling ${file%c}" + emacs --batch --eval '(byte-compile-file "'${file%c}'")' + fi + + cd $pwd +done