diff options
| author | Hendrik Tews | 2020-12-25 18:00:03 +0100 |
|---|---|---|
| committer | hendriktews | 2020-12-26 23:08:11 +0100 |
| commit | 2d94aa0aabf0aa7087f8833e1c61d95a034e2d13 (patch) | |
| tree | adfd69a9003b8e8ca4e792eb19009557541bf53b | |
| parent | 221b68de1a06c0833fb91e26f27721e8f928d45c (diff) | |
make-temp-file without text argument for emacs 25
fixes #534
| -rw-r--r-- | coq/coq-par-compile.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/coq/coq-par-compile.el b/coq/coq-par-compile.el index 7d15537b..29c1ddab 100644 --- a/coq/coq-par-compile.el +++ b/coq/coq-par-compile.el @@ -1639,9 +1639,10 @@ was queued." (get job 'load-path))) (coq-load-path-include-current nil) (require-command - (mapconcat 'identity (nth 1 (car (get job 'queueitems))) " "))) - (put job 'temp-require-file - (make-temp-file "ProofGeneral-coq" nil ".v" require-command)) + (mapconcat 'identity (nth 1 (car (get job 'queueitems))) " ")) + (temp-file (make-temp-file "ProofGeneral-coq" nil ".v"))) + (put job 'temp-require-file temp-file) + (with-temp-file temp-file (insert require-command)) (when coq--debug-auto-compilation (message "%s: start coqdep for require job for file %s" (get job 'name) |
