diff options
| author | David Aspinall | 2009-08-28 08:05:05 +0000 |
|---|---|---|
| committer | David Aspinall | 2009-08-28 08:05:05 +0000 |
| commit | f974863d3c820fa6c85503dda8f6a96389cef407 (patch) | |
| tree | 04b865e03232b13c1bd73627cd9fd7eb5515dcd8 | |
| parent | 701c7d6b5bd18ebca1a1e9fc43ccf5cba6e88999 (diff) | |
Comments
| -rw-r--r-- | isar/isar.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/isar/isar.el b/isar/isar.el index 34949e3a..2dc2c3b6 100644 --- a/isar/isar.el +++ b/isar/isar.el @@ -280,6 +280,8 @@ proof-shell-retract-files-regexp." ;; ;; Define the derived modes ;; +;; use eval-and-compile to define vars for byte comp. + (eval-and-compile (define-derived-mode isar-shell-mode proof-shell-mode "Isar shell" nil @@ -290,12 +292,12 @@ proof-shell-retract-files-regexp." "response" nil (isar-response-mode-config))) -(eval-and-compile ; to define vars for byte comp. +(eval-and-compile (define-derived-mode isar-goals-mode proof-goals-mode "proofstate" nil (isar-goals-mode-config))) -(eval-and-compile ; to define vars for byte comp. +(eval-and-compile (define-derived-mode isar-mode proof-mode "Isar script" "Major mode for editing Isar proof scripts. @@ -540,8 +542,10 @@ Checks the width in the `proof-goals-buffer'" (defconst isar-nonwrap-regexp ;; FIXME: approx: should only match at start or after terminator - (regexp-opt (cons "ProofGeneral.process_pgip" - isar-undo-commands))) + (regexp-opt (append (list "ProofGeneral.process_pgip" +; "ML" ; da: nesting problematic with ML? + ) + isar-undo-commands))) (defun isar-positions-of (buffer span) (concat |
