#! /usr/bin/bash comp-bad-el () { local fun=$1 local f=$2 \emacs -Q -D -nw -batch -L . -f $fun $f 2>&1 } export -f comp-bad-el parallel rm -f {} ::: *.elc \#*\# *~ parallel comp-bad-el batch-byte-compile > /dev/null {} ::: *.el parallel comp-bad-el batch-byte-compile {} ::: *.el parallel comp-bad-el batch-native-compile {} ::: *.el