From 694a4bc41311cfdff1b724b3e25644b7e20dbdb4 Mon Sep 17 00:00:00 2001 From: Christophe Raffalli Date: Wed, 12 Feb 2003 21:03:12 +0000 Subject: change for version 0.83 of PhoX --- phox/phox.el | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'phox/phox.el') 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 -- cgit v1.2.3