From 8c515e3b6efdcfecc213b56c860fccac2d9138cf Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 26 Jun 2023 18:05:40 +1000 Subject: Adding clean-elc-compile - also updating buildbot submodule commit --- misc/bin/clean-elc-compile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 misc/bin/clean-elc-compile (limited to 'misc/bin') diff --git a/misc/bin/clean-elc-compile b/misc/bin/clean-elc-compile new file mode 100755 index 0000000..7abccf8 --- /dev/null +++ b/misc/bin/clean-elc-compile @@ -0,0 +1,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 -- cgit v1.2.3