aboutsummaryrefslogtreecommitdiff
path: root/isar
diff options
context:
space:
mode:
Diffstat (limited to 'isar')
-rw-r--r--isar/isar-syntax.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/isar/isar-syntax.el b/isar/isar-syntax.el
index 083d06ee..7325f709 100644
--- a/isar/isar-syntax.el
+++ b/isar/isar-syntax.el
@@ -335,6 +335,9 @@
(defconst isar-undo-skip-regexp
(proof-anchor-regexp (proof-regexp-alt (isar-ids-to-regexp isar-keywords-diag) ";")))
+(defconst isar-undo-ignore-regexp
+ (proof-anchor-regexp "--"))
+
(defconst isar-undo-remove-regexp
(concat
(proof-anchor-regexp (isar-ids-to-regexp isar-keywords-theory-begin))