aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2007-05-10 14:56:12 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2007-05-10 14:56:12 +0000
commit82ed0297bdddb7b652a7e3f17fbb183dba601dfa (patch)
tree243a0e37ecb265401f2fffd3117f8365c801af91 /coq/coq.el
parentdf697037ca4d76b75d784cdb81bb2e2fc4dfa24a (diff)
Fixed prompt regexp.
Diffstat (limited to 'coq/coq.el')
-rw-r--r--coq/coq.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index d58f4f54..6c01138f 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -89,7 +89,7 @@ To disable coqc being called (and use only make), set this to nil."
;; Pierre added the infos in the prompt, this is new in Coq v8-1
(defvar coq-shell-prompt-pattern
- (if coq-version-is-V8-1 (concat "\\(?:\n<prompt>[^\n]+</prompt>\\)")
+ (if coq-version-is-V8-1 (concat "\\(?:\n\\(?:[^\n\371]+\371\\|<prompt>[^\n]+</prompt>\\)\\)")
(concat "\\(?:\n" proof-id " < \371\\)"))
"*The prompt pattern for the inferior shell running coq.")