aboutsummaryrefslogtreecommitdiffhomepage
path: root/isa
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2002-06-24 09:06:17 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2002-06-24 09:06:17 +0000
commit72b2ab5a832f64c9bd93e6fb26c704029fa0c982 (patch)
tree5ff64bd5962cc48e5a2c150a1200a197fe496e3f /isa
parent261bfe2ccf3158ff7eb49f59ed5876071d29dce0 (diff)
Add Emacs mode comments at top
Diffstat (limited to 'isa')
-rw-r--r--isa/Example.ML7
-rw-r--r--isa/Example.thy8
2 files changed, 13 insertions, 2 deletions
diff --git a/isa/Example.ML b/isa/Example.ML
index 720e3a47..57733a48 100644
--- a/isa/Example.ML
+++ b/isa/Example.ML
@@ -1,7 +1,12 @@
-(*
+(* -*- isa -*-
+
Example proof script for Isabelle Proof General.
$Id$
+
+ The line at the top of this comment forces
+ Proof General's classic Isabelle mode
+ (instead of Isar: you can't use both at once).
*)
Goal "A & B --> B & A";
diff --git a/isa/Example.thy b/isa/Example.thy
index 252a5a4c..c43d480f 100644
--- a/isa/Example.thy
+++ b/isa/Example.thy
@@ -1,10 +1,16 @@
-(*
+(* -*- isa -*-
+
Example theory file for Isabelle
David Aspinall <da@dcs.ed.ac.uk>
$Id$
+ The line at the top of this comment forces
+ Proof General's classic Isabelle mode;
+ scripting takes place in .ML files.
+
+ NB: this is incompatible with PG/Isar.
*)
Example = Main