diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2000-06-16 11:50:12 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2000-06-16 11:50:12 +0000 |
commit | fefe0c59d3a3ca46f26d2c7bb52c20234e3dcd9b (patch) | |
tree | aec07ca83a7dd9d725be55e18af26fb56cdca095 /isar | |
parent | 6470c02c16ad15cbab8f18b0fa09bfebe9b92743 (diff) |
Tuned x-symbol config, moved settings to isabelle-system.el
Diffstat (limited to 'isar')
-rw-r--r-- | isar/isar.el | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/isar/isar.el b/isar/isar.el index a412e6d1..f69eaa53 100644 --- a/isar/isar.el +++ b/isar/isar.el @@ -567,15 +567,14 @@ proof-shell-retract-files-regexp." ;; x-symbol support for Isabelle PG, provided by David von Oheimb. ;; ;; The following settings configure the generic PG package. -;; The token language "Isabelle Symbols" is in file x-symbol-isar.el +;; The token language "Isabelle Symbols" is in file x-symbol-isabelle.el ;; -(setq proof-xsym-font-lock-keywords - '(("\\\\<[A-Za-z][A-Za-z0-9_']*>" (0 font-lock-type-face))) - proof-xsym-activate-command - "ML_command {* print_mode := ([\"xsymbols\",\"symbols\"] @ ! print_mode) *};" - proof-xsym-deactivate-command - "ML_command {* print_mode := (! print_mode \\\\ [\"xsymbols\",\"symbols\"]) *};") +(setq + proof-xsym-activate-command + "ML_command {* print_mode := ([\"xsymbols\",\"symbols\"] @ ! print_mode) *};" + proof-xsym-deactivate-command + "ML_command {* print_mode := (! print_mode \\\\ [\"xsymbols\",\"symbols\"]) *};") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -587,16 +586,5 @@ proof-shell-retract-files-regexp." (defpgdefault completion-table isar-keywords-major) -(eval-after-load "x-symbol-isar" - ;; Add x-symbol tokens to isar-completion-table and rebuild - ;; internal completion table if completion is already active -'(progn -(defpgdefault completion-table - (append (proof-ass completion-table) - (mapcar (lambda (xsym) (nth 2 xsym)) - x-symbol-isar-table))) -(if (featurep 'completion) - (proof-add-completions)))) - (provide 'isar) |