diff options
| author | David Aspinall | 2002-08-12 08:31:22 +0000 |
|---|---|---|
| committer | David Aspinall | 2002-08-12 08:31:22 +0000 |
| commit | 8c6b24410a2ef8d9767bfc1f4c12c0bfa6a0605c (patch) | |
| tree | 1c3f2cfc06634a48fc2ecaef179045fe0cf92eba | |
| parent | 822bdfccf367136e204131bb9b8900ef8069a054 (diff) | |
Enable variable highlighting in case experimental features enabled.
| -rw-r--r-- | isa/isa.el | 9 | ||||
| -rw-r--r-- | isar/isar.el | 5 |
2 files changed, 9 insertions, 5 deletions
@@ -217,9 +217,12 @@ and script mode." pg-subterm-start-char ?\372 pg-subterm-sep-char ?\373 pg-subterm-end-char ?\374 - pg-after-fontify-output-hook 'isabelle-convert-idmarkup-to-subterm - ;'pg-remove-specials - ;; FIXME: next one doesn't do quite the right thing, always returns 'a? + pg-after-fontify-output-hook + (if proof-experimental-features + 'isabelle-convert-idmarkup-to-subterm 'pg-remove-specials) + ;; FIXME: next one doesn't do the right thing, it always returns 'a + ;; since variables are out-of-scope. Better would be to simply + ;; print the variable's kind. pg-subterm-help-cmd "printyp (type_of (read \"%s\"))" ;; === MULTIPLE FILE HANDLING === diff --git a/isar/isar.el b/isar/isar.el index 4d08f5b3..b3e283d7 100644 --- a/isar/isar.el +++ b/isar/isar.el @@ -240,8 +240,9 @@ See -k option for Isabelle interface script." pg-subterm-start-char ?\372 pg-subterm-sep-char ?\373 pg-subterm-end-char ?\374 - pg-after-fontify-output-hook 'isabelle-convert-idmarkup-to-subterm - ;'pg-remove-specials + pg-after-fontify-output-hook + (if proof-experimental-features + 'isabelle-convert-idmarkup-to-subterm 'pg-remove-specials) pg-subterm-help-cmd "term %s" proof-shell-process-file |
