From 34b2b9e7ff7cb8def8e68c64391e597e5f68995b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 23 Sep 2013 00:41:58 +0200 Subject: [PATCH] Run kaarvok from anywhere When running `kaarvok' always add the current directory to the `load-path'. This way, as long as `kaarvok.el' is in the same directory as `kaarvok', `kaarvok.el' can always be found. --- kaarvok | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaarvok b/kaarvok index ccbfbb8..cdb79c4 100755 --- a/kaarvok +++ b/kaarvok @@ -22,5 +22,5 @@ if [ "${#@}" -lt 2 ]; then exit 1 fi -/usr/bin/emacs -Q -batch -l kaarvok.el -eval \ +/usr/bin/emacs -Q -batch -L $(dirname $0) -l kaarvok.el -eval \ "(kaarvok-create-project-from-template \"$1\" \"$2\")"