aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
Diffstat (limited to 'isa')
-rw-r--r--isa/isa-syntax.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/isa/isa-syntax.el b/isa/isa-syntax.el
index 1bf2775f..90e4f2ec 100644
--- a/isa/isa-syntax.el
+++ b/isa/isa-syntax.el
@@ -117,7 +117,7 @@
"*Font-lock table for Isabelle terms.")
(defconst isa-save-command-regexp
- (concat "^" (proof-ids-to-regexp isa-keywords-save)))
+ (proof-anchor-regexp (proof-ids-to-regexp isa-keywords-save))))
;; CHECKED
(defconst isa-save-with-hole-regexp
@@ -125,7 +125,7 @@
"\\)\\s-+\"\\(" isa-id "\\)\"\\s-*;"))
(defcustom isa-goal-command-regexp
- (proof-ids-to-regexp isa-keywords-goal)
+ (proof-anchor-regexp (proof-ids-to-regexp isa-keywords-goal))
"Regular expression used to match a goal."
:type 'regexp
:group 'isabelle-config)