aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/pg-pgip.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-10 21:52:37 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-10 21:52:37 +0000
commit282b31af3ecdbd06cbd79f97a833caf19bbef956 (patch)
tree3fe4427f1576c7f7997169c53c7b3b1ac7afa9aa /generic/pg-pgip.el
parentc25e7f0a0fc7eb9a0b90cc3aab6b7740cec9d8ee (diff)
Clean compile
Diffstat (limited to 'generic/pg-pgip.el')
-rw-r--r--generic/pg-pgip.el16
1 files changed, 10 insertions, 6 deletions
diff --git a/generic/pg-pgip.el b/generic/pg-pgip.el
index a32500fe..94400d1a 100644
--- a/generic/pg-pgip.el
+++ b/generic/pg-pgip.el
@@ -1,6 +1,6 @@
;; pg-pgip.el --- PGIP manipulation for Proof General
;;
-;; Copyright (C) 2000-2002 LFCS Edinburgh.
+;; Copyright (C) 2000-2002, 2009 LFCS Edinburgh.
;; Author: David Aspinall <David.Aspinall@ed.ac.uk>
;; License: GPL (GNU GENERAL PUBLIC LICENSE)
;;
@@ -29,7 +29,11 @@
(require 'cl) ; incf
(require 'pg-xml) ;
-(require 'proof-config) ;; config variables
+
+(declare-function pg-response-warning "pg-response")
+(declare-function pg-response-message "pg-response")
+(declare-function proof-segment-up-to "proof-script")
+
;;; Code:
(defalias 'pg-pgip-debug 'proof-debug)
@@ -269,8 +273,8 @@ Return a symbol representing the PGIP command processed, or nil."
(text (pg-pgip-get-displaytext node)))
;; TODO: display and cache the value in a dedicated buffer
;; FIXME: should idvalue have a context?
- (proof-message text)))
-
+ (pg-response-message text)))
+
;;
;; Menu configuration [TODO]
;;
@@ -310,11 +314,11 @@ Return a symbol representing the PGIP command processed, or nil."
(defun pg-pgip-process-normalresponse (node)
(let ((text (pg-pgip-get-displaytext node)))
- (proof-message text)))
+ (pg-response-message text)))
(defun pg-pgip-process-errorresponse (node)
(let ((text (pg-pgip-get-displaytext node)))
- (proof-warning text)))
+ (pg-response-warning text)))
(defun pg-pgip-process-scriptinsert (node)
(let ((text (pg-pgip-get-displaytext node)))