summaryrefslogtreecommitdiff
path: root/archive
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-05-17 08:23:34 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-05-17 08:23:34 -0700
commitd940ff3b7b5362b90b20914556e6ca2aa53cbd2a (patch)
treedbf85fd27878702263272ab38a16c5d0287351a4 /archive
parent6c55707282f63db8989ae57e0b72d1b851dea704 (diff)
downloaddotfiles-d940ff3b7b5362b90b20914556e6ca2aa53cbd2a.tar.gz
start bytecompiling .emacs.d again, more robustly
Diffstat (limited to 'archive')
-rwxr-xr-xarchive/bin/bytecompile-emacsd32
1 files changed, 0 insertions, 32 deletions
diff --git a/archive/bin/bytecompile-emacsd b/archive/bin/bytecompile-emacsd
deleted file mode 100755
index 7e0e5b03..00000000
--- a/archive/bin/bytecompile-emacsd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Byte-compile lisp files in ~/.emacs.d
-
-# `batch-byte-compile' doesn't recurse, but the layout of my
-# ~/.emacs.d means it doesn't need to -- see comments near top of
-# ~/.emacs.d/init.el
-
-# Don't use -q or -Q so that my load-path gets set correctly by
-# ~/.emacs.d/init.el, with Debian packages taking precedence
-
-# The big problem with this script is that there is no arrangement for
-# recompilation when, e.g., the version of Emacs installed on the
-# system changes
-
-set -e
-
-if which emacs >/dev/null 2>&1; then
- if which chronic >/dev/null 2>&1; then
- chronic emacs -L $HOME/.emacs.d/initlibs \
- --batch --eval "(batch-byte-compile t)" \
- $HOME/.emacs.d/*.el $HOME/.emacs.d/*/*.el
-
- # a byte-compiled init file is inconvenient because it gets
- # loaded before `load-prefer-newer' is set
- rm $HOME/.emacs.d/init.elc
- else
- echo >&2 "W: not byte-compiling ~/.emacs.d: chronic unavailable"
- fi
-else
- echo >&2 "W: not byte-compiling ~/.emacs.d: Emacs unavailable"
-fi