aboutsummaryrefslogtreecommitdiff
path: root/coq/coq.el
diff options
context:
space:
mode:
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 cd9f7294..7e8cbd94 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -2851,7 +2851,7 @@ Also insert holes at insertion positions."
(setq cmd (read-string "Build match for type: "))
(let* ((thematch
(proof-shell-invisible-cmd-get-result (concat "Show Match " cmd ".")))
- (match (replace-regexp-in-string "=> \n" "=> #\n" thematch)))
+ (match (replace-regexp-in-string "=> *\n" "=> #\n" thematch)))
;; if error, it will be displayed in response buffer (see def of
;; proof-shell-invisible-cmd-get-result), otherwise:
(unless (proof-string-match coq-error-regexp match)