summaryrefslogtreecommitdiff
path: root/emacs-helm.sh
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2014-09-15 13:44:32 +0400
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2014-09-15 13:44:32 +0400
commit0f031b903063deef835aa6767431a7905e63f3d8 (patch)
tree3124c4f82b45b6c8f8b4c0a1e7112e68da19b90d /emacs-helm.sh
parentdbc56fae9cf63f5b4af4627dfe46c7e053d8fa1f (diff)
* Makefile: Generate autoloads from here now.
* emacs-helm.sh: Error when autoload file isn't found. * helm-config.el: load autoload file.
Diffstat (limited to 'emacs-helm.sh')
-rwxr-xr-xemacs-helm.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs-helm.sh b/emacs-helm.sh
index b59299ca..09caad4b 100755
--- a/emacs-helm.sh
+++ b/emacs-helm.sh
@@ -37,6 +37,11 @@ case $1 in
;;
esac
+if [ ! -f "helm-autoloads.el" ]; then
+ echo No autoloads found, please run make first to generate autoload file
+ exit 2
+fi
+
cat > $TMP <<EOF
(setq initial-scratch-message (concat initial-scratch-message
";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\
@@ -75,3 +80,4 @@ cat > $TMP <<EOF
EOF
$EMACS -Q -l $TMP $@
+