diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2009-09-06 18:58:41 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2009-09-06 18:58:41 +0000 |
commit | 70207f25ba7ea279f1e51f64ffebf69b10cfcfb6 (patch) | |
tree | ea246a76f6f6e9138b4924322277d0c5429ee708 /isar/isabelle-system.el | |
parent | 8c27343e5c5c06b45a964f126e609af90297e484 (diff) |
Remove unused subterm markup code
Diffstat (limited to 'isar/isabelle-system.el')
-rw-r--r-- | isar/isabelle-system.el | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/isar/isabelle-system.el b/isar/isabelle-system.el index 3eb029f4..bb565c54 100644 --- a/isar/isabelle-system.el +++ b/isar/isabelle-system.el @@ -341,30 +341,6 @@ for you, you should disable this behaviour." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; -;; Subterm markup -- faking it -;; - -(defun isabelle-convert-idmarkup-to-subterm () - "Convert identifier markup to subterm markup. -This is a hook setting for `pg-after-fontify-output-hook' to -enable identifiers to be highlighted. (To disable that behaviour, -the function `pg-remove-specials' can be used instead)." - ;; NB: the order of doing this is crucial: it must happen after - ;; fontifying (since replaces chars used for fontifying), but before - ;; X-Sym decoding (since some chars used for fontifying may clash - ;; with X-Sym character codes: luckily those codes don't seem to - ;; cause problems for subterm markup). - ;; Future version of this should use PGML output in Isabelle2002. - (goto-char (point-min)) - (while (proof-re-search-forward "[\351-\357]" nil t) - (replace-match "\372\200\373" nil t)) - (goto-char (point-min)) - (while (proof-re-search-forward "\350" nil t) - (replace-match "\374" nil t))) - - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; Context-senstive in-span menu additions ;; |