aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/proofgeneral7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/proofgeneral b/bin/proofgeneral
index b54a35b0..46d541a4 100644
--- a/bin/proofgeneral
+++ b/bin/proofgeneral
@@ -10,8 +10,10 @@
# $Id$
#
-# The relative path works for uninstalled package
-PGHOME=..
+# The default path works if you unpack Proof General in your
+# home directory.
+# NB: no trailing backslash here!
+PGHOME=$HOME/ProofGeneral
# Try to find an Emacs executable
if [ -z "$EMACS" ] || [ ! -x "$EMACS" ]; then
@@ -85,5 +87,6 @@ if [ ! -x "$EMACS" ]; then
exit 1
fi
+echo $EMACS -eval "(or (featurep (quote proof-site)) (load \"$PGHOME/generic/proof-site.el\"))" -f proof-splash-display-screen "$@"
exec $EMACS -eval "(or (featurep (quote proof-site)) (load \"$PGHOME/generic/proof-site.el\"))" -f proof-splash-display-screen "$@"