summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-03-07 12:32:53 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-03-07 12:32:53 -0700
commitf1cf1d88bffb17f7d982015619fc69f954bbd8dd (patch)
tree89743b6a2079cfecd32ecdd0bf6137abb7e4ddb9
parent3cb00d269c58fcb72a4f13cf8075b0ad39f6fdf7 (diff)
downloaddotfiles-f1cf1d88bffb17f7d982015619fc69f954bbd8dd.tar.gz
slightly improve subtrees.sh
-rwxr-xr-x.emacs.d/pkg/subtrees.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/.emacs.d/pkg/subtrees.sh b/.emacs.d/pkg/subtrees.sh
index 1c4f7545..43e15883 100755
--- a/.emacs.d/pkg/subtrees.sh
+++ b/.emacs.d/pkg/subtrees.sh
@@ -5,13 +5,14 @@ if [ "$1" = "--clear-elc" ]; then
exit 0
fi
-# make haskell-mode autoloads
-(
- # must cd to inside ~/src/dotfiles. If change to ~/.emacs.d/blah,
- # the autoloads are not generated correctly
- cd $HOME/src/dotfiles/.emacs.d/pkg/haskell-mode
- chronic make
-)
+# commented out: haskell-mode removed and relying on Debian package
+# # make haskell-mode autoloads
+# (
+# # must cd to inside ~/src/dotfiles. If change to ~/.emacs.d/blah,
+# # the autoloads are not generated correctly
+# cd $HOME/src/dotfiles/.emacs.d/pkg/haskell-mode
+# chronic make
+# )
# make helm autoloads
(
@@ -21,6 +22,8 @@ fi
# byte-compile anything that needs to be
+# TODO This doesn't actually work. It might need to load my init.el?
+
emacs --batch \
- --eval '(byte-recompile-directory "$HOME/src/dotfiles/.emacs.d" 0)' \
+ --eval "(byte-recompile-directory \"$HOME/src/dotfiles/.emacs.d\" 0)" \
2>&1 | tail -n1 # output only the summary line