aboutsummaryrefslogtreecommitdiffhomepage
path: root/isar/interface-setup.el
diff options
context:
space:
mode:
authorGravatar Makarius Wenzel <makarius@sketis.net>2006-12-07 19:53:14 +0000
committerGravatar Makarius Wenzel <makarius@sketis.net>2006-12-07 19:53:14 +0000
commitbdbbe3e8716f313a5beaacd5cdd3e9d41528b9c4 (patch)
treeab97d0a590db8dfd94241789260be3ea17c8b9cb /isar/interface-setup.el
parent5159b8d8cc7218fb717ca4876bf845345a068f61 (diff)
back again for isar;
Diffstat (limited to 'isar/interface-setup.el')
-rw-r--r--isar/interface-setup.el41
1 files changed, 41 insertions, 0 deletions
diff --git a/isar/interface-setup.el b/isar/interface-setup.el
new file mode 100644
index 00000000..d6ea1341
--- /dev/null
+++ b/isar/interface-setup.el
@@ -0,0 +1,41 @@
+;; interface-setup.el Interface wrapper for Isabelle Proof General
+;;
+;; This file is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+;;
+;; Author: Markus Wenzel <wenzelm@in.tum.de>
+;;
+;; interface-setup.el,v 7.0 2002/08/29 09:14:03 da Exp
+;;
+
+;;
+;; X-Symbol
+;;
+
+(let ((xsymbol (getenv "PROOFGENERAL_XSYMBOL")))
+
+ ;; avoid confusing warning message
+ (if (not (boundp 'x-symbol-image-converter))
+ (customize-set-variable 'x-symbol-image-converter nil))
+
+ ;; tell Proof General about -x option
+ (if (and xsymbol (not (equal xsymbol "")))
+ (customize-set-variable 'isar-x-symbol-enable (equal xsymbol "true"))))
+
+
+;;
+;; Unicode
+;;
+
+(let ((unicode (getenv "PROOFGENERAL_UNICODE")))
+ (if (and unicode (not (equal unicode "")))
+ (customize-set-variable 'proof-shell-unicode (equal unicode "true"))))
+
+;;
+;; Proof General
+;;
+
+(if (not (featurep 'proof-site))
+ (load (concat (getenv "PROOFGENERAL_HOME") "/generic/proof-site.el")))