From 134dc60f96bb00a94c20859d9933b1f6488685cb Mon Sep 17 00:00:00 2001 From: Hendrik Tews Date: Tue, 6 Dec 2011 20:14:14 +0000 Subject: use the start of proof-shell-end-goals-regexp, as documented --- generic/proof-shell.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generic/proof-shell.el') 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)) -- cgit v1.2.3