aboutsummaryrefslogtreecommitdiffhomepage
path: root/isa/isa.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-05-05 11:13:53 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-05-05 11:13:53 +0000
commitf92d43b2abf0c0fed4da25e328e370c9f2faecf1 (patch)
treede73d3e9f600b15fcb72cdb81e9919f7e4ff63e7 /isa/isa.el
parent83e89cfe761a45ecfad0c78d22707190ea2befc5 (diff)
Default to isa-mode or isar-mode according to first one invoked.
Diffstat (limited to 'isa/isa.el')
-rw-r--r--isa/isa.el17
1 files changed, 15 insertions, 2 deletions
diff --git a/isa/isa.el b/isa/isa.el
index add4d814..bf7f682c 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -1,12 +1,18 @@
;; isa.el Major mode for Isabelle proof assistant
-;; Copyright (C) 1994-1998 LFCS Edinburgh.
+;; Copyright (C) 1994-2000 LFCS Edinburgh, David Aspinall.
;;
;; Author: David Aspinall <da@dcs.ed.ac.uk>
;; Maintainer: Proof General maintainer <proofgen@dcs.ed.ac.uk>
-
;;
;; $Id$
;;
+;; -----------------------------------------------------------------
+;;
+;; This file and the rest of Isabelle Proof General contain code taken
+;; from David Aspinall's Isamode system, a personal project undertaken
+;; 1994-1999 as a contribution to the Isabelle community.
+;;
+;; -----------------------------------------------------------------
;; Add Isabelle image onto splash screen
@@ -17,6 +23,13 @@
nil
(proof-splash-display-image "isabelle_transparent" t)))
+;; In case Isa mode was invoked directly or by -*- isa -*- at
+;; the start of the file, ensure that Isa mode is used from now
+;; on for .thy and .ML files.
+;; FIXME: be less messy with auto-mode-alist here (remove dups)
+(setq auto-mode-alist
+ (cons '("\\.ML$\\|\\.thy$" . isa-mode) auto-mode-alist))
+
(require 'proof)
(require 'isa-syntax)