aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-script.el
diff options
context:
space:
mode:
authorDavid Aspinall1998-10-27 17:31:59 +0000
committerDavid Aspinall1998-10-27 17:31:59 +0000
commita7bace497992954e808de69847fd53345d6c3c0b (patch)
tree1fa03bc9d321ad2a8fc4bb25ac66dcc269dc3f6f /generic/proof-script.el
parent189b7a213b9dd9366dda6288e9a0a0e64bf06e49 (diff)
More fixes for cleaner byte compile.
Diffstat (limited to 'generic/proof-script.el')
-rw-r--r--generic/proof-script.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 5e13be05..690eda08 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -14,7 +14,7 @@
(require 'proof-indent)
;; Spans are our abstraction of extents/overlays.
-(eval-when-compile
+(eval-and-compile
(cond ((fboundp 'make-extent) (require 'span-extent))
((fboundp 'make-overlay) (require 'span-overlay))))
@@ -33,7 +33,8 @@
'(proof-shell-ready-prover
proof-start-queue
proof-shell-live-buffer
- proof-shell-invisible-command)))
+ proof-shell-invisible-command
+ proof-response-buffer-display)))
;;
;; Internal variables used by script mode
@@ -1372,6 +1373,7 @@ sent to the assistant."
;; configuring for new assistants.
;;;###autoload
+(eval-and-compile ; to define vars
(define-derived-mode proof-mode fundamental-mode
proof-mode-name
"Proof General major mode class for proof scripts.
@@ -1386,7 +1388,7 @@ sent to the assistant."
(add-hook 'kill-buffer-hook
(lambda ()
(setq proof-script-buffer-list
- (remove (current-buffer) proof-script-buffer-list)))))
+ (remove (current-buffer) proof-script-buffer-list))))))
;; Fixed definitions in proof-mode-map, which don't depend on
;; prover configuration.