From f974863d3c820fa6c85503dda8f6a96389cef407 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 28 Aug 2009 08:05:05 +0000 Subject: Comments --- isar/isar.el | 12 ++++++++---- 1 file 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 -- cgit v1.2.3