aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
authorDavid Aspinall2008-01-16 12:47:21 +0000
committerDavid Aspinall2008-01-16 12:47:21 +0000
commitbee0fafacc925e6eb21fa8c2b9547c911e37d45c (patch)
tree24d497e2f2d8831fd2798425a31abdfab19716c9 /generic/proof-shell.el
parent6044a343bc801f8bfe4ab3756e11f44a648a2edd (diff)
Compilation tweaks
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el37
1 files changed, 1 insertions, 36 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index 5443963c..a30711d9 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -20,42 +20,6 @@
(require 'pg-goals)
(require 'proof-script)
-;;
-;; Internal variables used in sub-modules
-;;
-
-;; A raw record of the last output from the proof system
-(defvar proof-shell-last-output nil
- "A record of the last string seen from the proof system.")
-
-
-
-
-;; ;; FIXME:
-;; ;; Autoloads for proof-script (added to nuke warnings,
-;; ;; maybe should be 'official' exported functions in proof.el)
-;; ;; This helps see interface between proof-script / proof-shell.
-;; ;; FIXME 2: We can probably assume that proof-script is always
-;; ;; loaded before proof-shell, so just put a require on
-;; ;; proof-script here.
-;; (eval-and-compile
-;; (mapcar (lambda (f)
-;; (autoload f "proof-script"))
-;; '(proof-goto-end-of-locked
-;; proof-insert-pbp-command
-;; proof-detach-queue
-;; proof-locked-end
-;; proof-set-queue-endpoints
-;; proof-script-clear-queue-spans
-;; proof-file-to-buffer
-;; proof-register-possibly-new-processed-file
-;; proof-restart-buffers)))
-
-;; FIXME:
-;; Some variables from proof-shell are also used, in particular,
-;; the menus. These should probably be moved out to proof-menu.
-
-
;; ============================================================
;;
;; Internal variables used by proof shell
@@ -1886,6 +1850,7 @@ In case CMD is (or yields) nil, do nothing."
cmd 'proof-done-invisible)))
(if wait (proof-shell-wait)))))
+;;;###autoload
(defun proof-shell-invisible-cmd-get-result (cmd &optional noerror)
"Execute CMD and return result as a string.
This expects CMD to print something to the response buffer.