aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2011-01-18 17:36:32 +0000
committerDavid Aspinall2011-01-18 17:36:32 +0000
commit5b5e03cef4876bfb5ff58ef9b87b91a6ffc0f6fc (patch)
tree1a20d0975d61ecd6b98d59702c84a0ec9fd8503a
parentbe494ff82987bac82e4bdd8b9033b4df291053df (diff)
Localise compilation fix for dynamic scope of `queueitems\'.
-rw-r--r--coq/coq.el2
-rw-r--r--generic/proof-shell.el8
2 files changed, 2 insertions, 8 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 09d1a484..c4b77a41 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -22,6 +22,8 @@
(require 'etags)
(unless (proof-try-require 'smie)
(defvar smie-indent-basic nil)) ; smie
+
+ (defvar queueitems nil) ; dynamic scope in p-s-extend-queue-hook
(defvar coq-time-commands nil) ; defpacustom
(defvar coq-auto-compile-vos nil) ; defpacustom
(defvar coq-use-editing-holes nil) ; defpacustom
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index dcd36a6c..069694e7 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -923,14 +923,6 @@ This function calls `proof-add-to-queue'."
(proof-add-to-queue queueitems queuemode))
-(defvar queueitems
- "Local variable of `proof-extend-queue' and `proof-shell-extend-queue-hook'.
-This only locally used variable communicates the items that are
-about to be placed into the `proof-action-list' queue into the
-hook functions in `proof-shell-extend-queue-hook'. This is the
-price to pay for using a normal hook.")
-
-
;;;###autoload
(defun proof-extend-queue (end queueitems)
"Extend the current queue with QUEUEITEMS, queue end END.