lean2/bin/leanemacs.in

8 lines
275 B
Bash

#!/usr/bin/env bash
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
export LEAN_ROOTDIR="$MY_PATH/.."
export LEAN_EMACS_PATH="$MY_PATH/../@EMACS_LISP_DIR@"
emacs -load $LEAN_EMACS_PATH/load-lean.el $*