feat(bin/leanemacs): allow user to provide arguments (e.g., .lean files) to leanemacs script

This commit is contained in:
Leonardo de Moura 2015-01-31 17:41:50 -08:00
parent 27741e4fd7
commit 87570740e2
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@ 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
emacs -load $LEAN_EMACS_PATH/load-lean.el $*

View file

@ -6,4 +6,4 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
export LEAN_ROOTDIR="$MY_PATH/.."
export LEAN_EMACS_PATH="$MY_PATH/../src/emacs"
emacs -load $LEAN_EMACS_PATH/load-lean.el -debug-init
emacs -load $LEAN_EMACS_PATH/load-lean.el -debug-init $*