feat(bin/leanemacs): allow user to provide arguments (e.g., .lean files) to leanemacs script
This commit is contained in:
parent
27741e4fd7
commit
87570740e2
2 changed files with 2 additions and 2 deletions
|
@ -5,4 +5,4 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
export LEAN_ROOTDIR="$MY_PATH/.."
|
export LEAN_ROOTDIR="$MY_PATH/.."
|
||||||
export LEAN_EMACS_PATH="$MY_PATH/../@EMACS_LISP_DIR@"
|
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 $*
|
||||||
|
|
|
@ -6,4 +6,4 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
export LEAN_ROOTDIR="$MY_PATH/.."
|
export LEAN_ROOTDIR="$MY_PATH/.."
|
||||||
export LEAN_EMACS_PATH="$MY_PATH/../src/emacs"
|
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 $*
|
||||||
|
|
Loading…
Reference in a new issue