diff options
| author | Pierre Courtieu | 2020-05-04 14:40:59 +0200 |
|---|---|---|
| committer | Cyril Anaclet | 2020-05-04 17:12:27 +0200 |
| commit | 5900b15ec4dc6fd344c641c2d676157be70bd551 (patch) | |
| tree | a6d1d96eedf2fd0772285049ae217c286d95e7b7 | |
| parent | dd6c458085d4050411fa4bd1ad4aca26e4145950 (diff) | |
Fixing #485, bug on proof without "Proof".
Due to a re-search that should fail silently.
| -rw-r--r-- | coq/coq.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2661,7 +2661,7 @@ built from the list of strings in SUGGESTED." (with-current-buffer proof-script-buffer (save-excursion (goto-char (span-start span)) - (let* ((endpos (re-search-forward coq-proof-using-regexp))) + (let* ((endpos (re-search-forward coq-proof-using-regexp (span-end span) t))) (when endpos (let* ((suggested (span-property span 'dependencies)) (proof-pos (match-beginning 0)) |
