File: interface-setup.el

package info (click to toggle)
proofgeneral 3.5-4.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,120 kB
  • ctags: 3,972
  • sloc: lisp: 34,872; makefile: 452; sh: 323; perl: 205; ansic: 43
file content (35 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;; 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"))
      (enable-var (if (equal (getenv "PROOFGENERAL_ASSISTANTS") "isa")
                      'isa-x-symbol-enable 'isar-x-symbol-enable)))

  ;; 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 enable-var (equal xsymbol "true"))))


;;
;; Proof General
;;

(if (not (featurep 'proof-site))
    (load (concat (getenv "PROOFGENERAL_HOME") "/generic/proof-site.el")))