diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-21 14:58:22 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-07-21 16:06:20 -0700 |
commit | ea323b9be0e5490684f7681eed64340cda1ee2f9 (patch) | |
tree | 093f9fc4600dbb59c63ff2efcc21225f23773fe0 /bin | |
parent | b330ab646aed48ebc0913d23aeb40742907065e0 (diff) | |
download | dotfiles-ea323b9be0e5490684f7681eed64340cda1ee2f9.tar.gz |
archive ~/.emacs.d bytecompilation
I am now often running a development build of Emacs, in which case
bytecompile-emacs-d's method of determining whether a rebuild is required is
too simple to ensure we rebuild often enough.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bytecompile-emacs-d | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/bytecompile-emacs-d b/bin/bytecompile-emacs-d deleted file mode 100755 index 43d84722..00000000 --- a/bin/bytecompile-emacs-d +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -which emacs >/dev/null || exit - -cd "$HOME/.emacs.d" - -if [ -f bytecompiled-against ]; then - last=$(cat bytecompiled-against) -fi -now=$(emacs --version) -echo "$now" >bytecompiled-against - -# Ensure that everything gets recompiled if version of Emacs has -# changed, as definitions of macros may have changed. If -# ~/.emacs.d/*.el start using macros from third party packages, should -# extend this logic to recompile when installations of those change, -# as Debian's emacsen-common infrastructure does -if [ "$last" = "$now" ]; then - make -else - make -B -fi |