Skip to content

Commit

Permalink
modif coq-system.el to fail the coqtop-available test
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Daboust committed Mar 27, 2024
1 parent 8f18b7c commit aea57ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions coq/coq-system.el
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,12 @@ LOADPATH, CURRENT-DIRECTORY, PRE-V85: see `coq-include-options'."
;; include it in the -Q options. This is not true for coqdep.
"Build a list of options for coqc.
LOADPATH, CURRENT-DIRECTORY, PRE-V85: see `coq-coqc-prog-args'."

;; Modification to break the test coqtop-unavailable
(unless (locate-file coq-prog-name exec-path)
(error "coqtop is unavailable, cannot proceed"))


(let ((topfile-supported (coq--supports-topfile)))
(append
;; it is better to inform coqtop of the name of the current module
Expand Down

0 comments on commit aea57ce

Please sign in to comment.