#! /bin/sh rm *.elc 2> /dev/null for f in *.el; do emacs -Q -D --batch --eval "(push \".\" load-path)" -f batch-byte-compile $f done