blob: 7abccf886b8ef797b54ee3debb7ee8f243c3b775 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
 | #!/bin/bash
# Byte compile an elisp dir with a "clean" emacs
for f in "$1"/*.el; do
    emacs --batch \
          --eval "(setq load-prefer-newer t)" \
          -f package-initialize  \
          -L "$1"  \
          -f batch-byte-compile "$f"
done
 |