aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index e2146249..6abef30b 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -1505,8 +1505,8 @@ i.e., 'goals or 'response."
(if proof-shell-end-goals-regexp
(progn
(re-search-forward proof-shell-end-goals-regexp end t)
- (match-beginning 0)
- (setq rstart (match-end 0)))
+ (setq rstart (match-end 0))
+ (match-beginning 0))
end)))
(setq proof-shell-last-goals-output
(buffer-substring-no-properties gstart gend))