lib/Tools/emacs
author wenzelm
Fri, 30 Aug 2013 11:00:46 +0200
changeset 53315 b102e20cec78
parent 34275 8f105e6a2b88
child 57414 fe1be2844fda
permissions -rwxr-xr-x
private copy (!) of etc/symbols for WWW_Find, which has its own interpretation of the file format;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: Proof General / Emacs interface wrapper


## diagnostics

function fail()
{
  echo "$1" >&2
  exit 2
}


## main

[ -z "$PROOFGENERAL_HOME" ] && fail "Missing Proof General installation (PROOFGENERAL_HOME)"

INTERFACE="$PROOFGENERAL_HOME/isar/interface"
[ ! -x "$INTERFACE" ] && fail "Bad interface script: \"$INTERFACE\""

#legacy settings
export ISABELLE="$ISABELLE_PROCESS"
export ISATOOL="$ISABELLE_TOOL"

exec "$INTERFACE" "$@"