From be494ff82987bac82e4bdd8b9033b4df291053df Mon Sep 17 00:00:00 2001 From: Hendrik Tews Date: Tue, 18 Jan 2011 15:03:38 +0000 Subject: - fixed compilation errors --- coq/coq.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'coq') diff --git a/coq/coq.el b/coq/coq.el index 0a8ec0ed..09d1a484 100644 --- a/coq/coq.el +++ b/coq/coq.el @@ -15,6 +15,7 @@ (eval-when (compile) (require 'proof-utils) + (require 'proof-shell) (require 'span) (require 'outline) (require 'newcomment) @@ -830,7 +831,7 @@ This is specific to `coq-mode'." (setq proof-cannot-reopen-processed-files nil proof-auto-multiple-files t ;; proof-shell-inform-file-retracted-cmd 'coq-retract-file - proof-shell-require-command-regexp coq-require-command-regexp + ;; proof-shell-require-command-regexp coq-require-command-regexp proof-done-advancing-require-function 'coq-process-require-command) (add-hook 'proof-activate-scripting-hook 'proof-cd-sync nil t) @@ -1554,6 +1555,12 @@ queue." (coq-make-lib-up-to-date (symbol-value coq-object-local-hash-symbol) module-obj-file))))) +(defvar coq-process-require-current-buffer + "Used in `coq-compile-save-some-buffers' and `coq-compile-save-buffer-filter'. +This only locally used variable communicates the current buffer +from `coq-compile-save-some-buffers' to +`coq-compile-save-buffer-filter'.") + (defun coq-compile-save-buffer-filter () "Filter predicate for `coq-compile-save-some-buffers'. See also `save-some-buffers'. Returns t for buffers with major mode -- cgit v1.2.3