aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Courtieu2007-03-26 11:03:35 +0000
committerPierre Courtieu2007-03-26 11:03:35 +0000
commit2384d0697a9993fdae02b53584488d486e15ade7 (patch)
tree3c3740f8992f58e2c1ed07ff67115c04946c73e7
parentd916ec7abb7beb9b6da1ed5a589f689176f3ae20 (diff)
Change in a regexp for coq-shell-prompt.
-rw-r--r--coq/coq.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/coq/coq.el b/coq/coq.el
index c3edeb7f..f36e185a 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -83,13 +83,12 @@ controling coq prompt. Only for coq >= 8.1 (and 8.1 beta)")
;; NB: da: PG 3.5: added \n here to account for blank line in Coq output.
;; Better result for shrinking windows, grabbing shell output.
-;; Pierre added the infos in the prompt, this is new in Coq v8-1 (to be released last
-;; quarter of 2005).
+;; Pierre added the infos in the prompt, this is new in Coq v8-1
(defvar coq-shell-prompt-pattern
(if coq-version-is-V8-0
- (concat "\\(?:\n" proof-id " < \\)")
- (concat "\\(?:\n" proof-id " < [^\n]+\371\\|\n<prompt>[^\n]+</prompt>\\)")
+ (concat "\\(?:\n" proof-id " < \371\\)")
+ (concat "\\(?:\n" proof-id " < [^\n\371]+\\|\n<prompt>[^\n]+</prompt>\\)")
)
"*The prompt pattern for the inferior shell running coq.")
; (concat "^\n?" proof-id " < \\(?:[0-9]+ |\\(?:" proof-id "|?\\)*| " "[0-9]+ < \\)?\\(?:\x6\\|\371\\)")