aboutsummaryrefslogtreecommitdiffhomepage
path: root/phox/phox.el
diff options
context:
space:
mode:
authorGravatar Christophe Raffalli <christophe.raffalli@univ-savoie.fr>2003-02-12 21:03:12 +0000
committerGravatar Christophe Raffalli <christophe.raffalli@univ-savoie.fr>2003-02-12 21:03:12 +0000
commit694a4bc41311cfdff1b724b3e25644b7e20dbdb4 (patch)
treefb8d1ec53dbca30a726f3fbea108772517e9b076 /phox/phox.el
parentc6ebd146613e4255127c6d1c8036bc4a60a9aac6 (diff)
change for version 0.83 of PhoX
Diffstat (limited to 'phox/phox.el')
-rw-r--r--phox/phox.el15
1 files changed, 10 insertions, 5 deletions
diff --git a/phox/phox.el b/phox/phox.el
index 8b22dafe..5fadf597 100644
--- a/phox/phox.el
+++ b/phox/phox.el
@@ -108,14 +108,14 @@
proof-script-comment-end "*)"
proof-state-command "goals."
proof-goal-command-regexp
- "\\`\\(goal[ \t\n\r]\\|pro\\(p\\(osition\\)?\\|ve_claim\\)\\|lem\\(ma\\)?\\|fact\\|cor\\(ollary\\)?\\|theo\\(rem\\)?\\)"
+ "\\`\\(Local[ \t\n\r]+\\)?\\(goal[ \t\n\r]\\|pro\\(p\\(osition\\)?\\|ve_claim\\)\\|lem\\(ma\\)?\\|fact\\|cor\\(ollary\\)?\\|theo\\(rem\\)?\\)"
proof-save-command-regexp "\\`save"
proof-goal-with-hole-regexp
(concat
- "\\`\\(pro\\(p\\(osition\\)?\\|ve_claim\\)\\(osition\\)?\\|lem\\(ma\\)?\\|fact\\|cor\\(ollary\\)?\\|theo\\(rem\\)?\\)"
+ "\\`\\(Local[ \t\n\r]+\\)?\\(pro\\(p\\(osition\\)?\\|ve_claim\\)\\(osition\\)?\\|lem\\(ma\\)?\\|fact\\|cor\\(ollary\\)?\\|theo\\(rem\\)?\\)"
phox-strict-comments-regexp
phox-ident-regexp)
- proof-goal-with-hole-result 15
+ proof-goal-with-hole-result 16
proof-save-with-hole-regexp
(concat
"\\`save"
@@ -206,7 +206,10 @@
font-lock-keywords (append phox-font-lock-keywords proof-xsym-font-lock-keywords)
proof-output-fontify-enable t)
(phox-sym-lock-start)
- (add-hook 'proof-shell-handle-delayed-output-hook 'phox-sym-lock-font-lock-hook)
+ (if (and (featurep 'phox-sym-lock) phox-sym-lock)
+ (add-hook 'proof-shell-handle-delayed-output-hook
+ 'phox-sym-lock-font-lock-hook)
+ )
(proof-response-config-done))
(define-derived-mode phox-goals-mode proof-goals-mode
@@ -215,7 +218,9 @@
font-lock-keywords (append phox-font-lock-keywords proof-xsym-font-lock-keywords)
proof-output-fontify-enable t)
(phox-sym-lock-start)
- (add-hook 'pg-before-fontify-output-hook 'phox-sym-lock-font-lock-hook)
+ (if (and (featurep 'phox-sym-lock) phox-sym-lock)
+ (add-hook 'pg-before-fontify-output-hook
+ 'phox-sym-lock-font-lock-hook))
(proof-goals-config-done))
;; The response buffer and goals buffer modes defined above are