aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Aspinall1998-11-04 13:57:10 +0000
committerDavid Aspinall1998-11-04 13:57:10 +0000
commitbd63ee707863cec05c08e3e5758ac58bb88ae406 (patch)
tree9bcd8ff68aed182ed44ee26fa45e85d5c9c07cd7 /doc
parent95341d3ae61447ff5c9fa9be8f833af2a4195aa5 (diff)
Added key binding to switch between theory and ML files.
Diffstat (limited to 'doc')
-rw-r--r--doc/NewDoc.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/NewDoc.texi b/doc/NewDoc.texi
index 08cb225a..7c59cb57 100644
--- a/doc/NewDoc.texi
+++ b/doc/NewDoc.texi
@@ -698,6 +698,23 @@ At present there is no easy way to get around this.
@node Isabelle specific commands
@section Isabelle specific commands
+@unnumberedsubsec Associated files
+@cindex Associated files
+
+In Isabelle proofscript mode, @kbd{C-c C-o} (@code{thy-find-other-file})
+finds and switches to the associated theory file, that is, the file with
+the same base name but extension @file{.thy} swapped for @file{.ML}.
+
+The same function (and keybinding) switches back to an ML file from the
+theory file.
+
+@deffn Command thy-find-other-file
+Find and switch to the associated ML file (when editing a theory file)
+or theory file (when editing an ML file).
+@end deffn
+
+
+
@node Isabelle customizations
@section Isabelle customizations