lib/scripts/isa-emacs
author wenzelm
Mon, 03 Mar 1997 18:25:17 +0100
changeset 2712 44a657985de1
parent 2600 be48eff459e9
child 2939 73837efaf71b
permissions -rwxr-xr-x
removed -r option; added -p option;

#!/bin/bash -norc
#
# $Id$
#
# Emacs / Isamode interface.
#
# TODO: isabelle fonts


## diagnostics

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


## main

if [ -f "$ISABELLE_HOME_USER/etc/isa-settings.el" ]; then
  USER_SETTINGS="--load $ISABELLE_HOME_USER/etc/isa-settings.el"
else
  USER_SETTINGS=""
fi

exec emacs -name "isabelle" \
  --no-init-file "$@" \
  --load "$ISAMODE_HOME/elisp/isa-site.el" \
  $USER_SETTINGS \
  --load $HOME/.emacs \
  --funcall isabelle