diff options
| author | David Aspinall | 2008-01-16 11:17:58 +0000 |
|---|---|---|
| committer | David Aspinall | 2008-01-16 11:17:58 +0000 |
| commit | 9326d8da64b3eea61cb15cf7417af72d0ee26b11 (patch) | |
| tree | 6b8588d1a503bfc9014dc2788fb679cdc26dff55 /generic/proof-shell.el | |
| parent | 3a1dba53b7d27886173347c04d76fa71ac08a6dd (diff) | |
Cleanup compile
Diffstat (limited to 'generic/proof-shell.el')
| -rw-r--r-- | generic/proof-shell.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el index 8f9b74c9..5443963c 100644 --- a/generic/proof-shell.el +++ b/generic/proof-shell.el @@ -13,9 +13,9 @@ (require 'span) (require 'comint) (require 'font-lock) - (require 'proof-autoloads) (require 'proof-utils)) +(require 'proof-autoloads) (require 'pg-response) (require 'pg-goals) (require 'proof-script) @@ -1346,7 +1346,7 @@ MESSAGE should be a string annotated with ;; CASE theorem dependency: prover lists thms used in last proof ((and proof-shell-theorem-dependency-list-regexp (string-match proof-shell-theorem-dependency-list-regexp message)) - (let ((names (match- string 1 message)) + (let ((names (match-string 1 message)) (deps (match-string 2 message))) (setq proof-last-theorem-dependencies (cons @@ -1390,9 +1390,7 @@ MESSAGE should be a string annotated with "Issue MSG as a prompt and receive user input." (let ((input (ignore-errors - (read-input - msg - nil + (read-string msg nil 'proof-shell-minibuffer-urgent-interactive-input-history)))) ;; Always send something, even if read-input was errorful (proof-shell-insert (or input "") 'interactive-input))) @@ -1765,7 +1763,7 @@ Annotations are characters 128-255." (while (< i 256) (aset disp i []) (incf i)) - (cond ((fboundp 'add-spec-to-specifier) + (cond ((featurep 'xemacs) (add-spec-to-specifier current-display-table disp (current-buffer))) ((boundp 'buffer-display-table) (setq buffer-display-table disp)))))) @@ -1777,7 +1775,8 @@ in the shell buffer. Use proof-shell-dont-show-annotations to turn them off again. XEmacs only." (interactive) - (remove-specifier current-display-table (current-buffer))) + (if (featurep 'xemacs) + (remove-specifier current-display-table (current-buffer)))) @@ -1904,6 +1903,7 @@ usual, unless NOERROR is non-nil." (setq proof-shell-no-response-display nil)) proof-shell-last-output) +;;;###autoload (defun proof-shell-invisible-command-invisible-result (cmd &optional noerror) "Execute CMD, wait for but do not display result." ;; Just same as previous function, except we discard result |
